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.

1378

Inputs/Outputs

datatype_icon

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

datatype_icon

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.
datatype_icon

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.

datatype_icon

standard input

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

datatype_icon

working directory

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

Note Do not use working directory to locate the executable you want to run. working directory applies to the executable only after it launches.
datatype_icon

error in

Error conditions that occur before this node runs.

The node responds to this input according to standard error behavior.

Standard Error Behavior

Default value: No error

datatype_icon

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

datatype_icon

standard output

The information returned by the executable program.

If wait until completion is set to False, this node returns an empty string.

datatype_icon

standard error

The errors returned by the executable program.

If wait until completion is set to False, this node returns an empty string.

datatype_icon

return code

The system-dependent exit code that the command returns.

datatype_icon

error out

Error information.

The node produces this output according to standard error behavior.

Standard Error Behavior