execute

execute given shell command


Parameters

execute command :string

Attributes

args:blockuse given command arguments
asyncexecute asynchronously as a process and return id
codereturn process exit code
directlyexecute command directly, as a shell command

Returns

  • :string
  • :dictionary

Examples

copy
print execute "pwd" ; /Users/admin/Desktop split.lines execute "ls" ; => ["tests" "var" "data.txt"]

Related