sysExecute

Version 20.0.7580


sysExecute

Version 20.0.7580


Executes a program or command.

Required Parameters

  • name: The name of the command or program to execute.

Optional Parameters

  • arguments: The command-line arguments for the command or program.
  • argarray#: The command-line arguments for the command or program.
  • directory: The directory to start the command or program in. The default value is ‘.’.
  • timeout: The maximum amount of time (in seconds) to wait for the command or program. Use -1 to indicate no timeout. The default value is ‘60’.
  • waitforoutput: Whether to wait for the output of the command or program. The default value is ‘true’.

Output Attributes

  • sys:output: The output of the command or program.
  • sys:error: The error output, if any, of the command or program.