CommandLine
A command-line interface (CLI) is a means of interacting with a computer program where the user (or client) issues commands to the program in the form of successive lines of text (command lines). Operating system (OS) command line interfaces are usually distinct programs supplied with the operating system.
The CommandLine function allows applications to use a Windows command line interface to run commands. Use this function when you want to do some work in a Windows command line interface.
Properties
Command
The command to execute. This can be anything you can execute in the command line interface on Windows. The full file path must be included in the command when executing a file.
Working directory
The working directory inside the process started by the command.
User name
The user name to use when starting the process. User name must be specified in the format user@domain.
Password
The user password to use when starting the process.
Wait for return
If Wait for return is selected, the command prompt will be integrated into the process flow in a synchronous fashion and any return values from the command prompt can be used further down in the process.
If Wait for return is not selected, the command prompt will be started, but the process will continue straight away and not wait for the completion of that prompt ("fire and forget").
Definition
Definition variables are only available when the Wait for return property is selected.
ExitCode
The exit code of the command that was executed.
HasTimedOut
Value to indicate whether the command has timed out while executing.
Output
The output of the command that was executed.