System Exec
- Updated2023-02-17
- 3 minute(s) read
System Exec
Executes or launches other Windows-based applications, command-line applications, or batch files.
You can include any parameters within your command string that the executing command supports.

Inputs/Outputs

expected output size
The number of bytes you expect the output of the command to be.
Entering a number slightly larger than the output size you expect leads to more efficient memory use. The command runs even if you exceed this size, but memory is used less efficiently.
Default value: 4096

wait until completion?
A Boolean value that determines whether this node continues running until the command finishes running.
True | This node keeps running until the command finishes running. The standard output and standard error values are available when the command finishes running. |
False | This node finishes running immediately after executing the command. The command runs in the background, and the standard output and standard error values are not available when the command finishes running. |

command line
The command this node calls to run a program.
If the executable is not in a directory listed in the PATH environment variable, the command line must contain the full path to the executable. To use a command that must be executed directly from a command prompt window, insert cmd /c before the command.

standard input
The text to pass to the command line as standard input.

working directory
The file system directory from which you want to execute the command.

error in
Error conditions that occur before this node runs.
The node responds to this input according to standard error behavior.
Default value: No error

run minimized?
A Boolean value that determines whether the executable program that is called is minimized while running.
True | The executable program is minimized while running. |
False | The executable program is not minimized while running. |
Default value: False

standard output
The information returned by the executable program.
If wait until completion is set to False, this node returns an empty string.

standard error
The errors returned by the executable program.
If wait until completion is set to False, this node returns an empty string.

return code
The system-dependent exit code that the command returns.

error out
Error information.
The node produces this output according to standard error behavior.