LaunchProcess
LaunchProcess
Starts a Windows process by launching an executable file. This activity can optionally wait for the launched process to finish, enabling you to retrieve its exit code and/or text.
Properties
FileToRun
Type: System.String
Specifies, through the 'Open' dialog, the full path to the program file to be launched.
Arguments
Type: System.String
Specifies the command line arguments to be added to the process when it is launched.
WorkingDirectory
Type: System.String
Specifies, through the 'Browse for Folder' dialog, the directory to be set as the process's current directory when it is launched.
WaitForProcessExit
Type: System.Object
Specifies whether to instruct this activity to wait (True) until the process terminates or to continue (False) with subsequent activities after the process starts. You can also bind this parameter to a conditional.
UseSuccessResult
Type: System.Object
Specifies (True or False) whether the activity should use the 'Success Result' property to determine success or failure for the launched process. You can also bind this parameter to a conditional.
SuccessResult
Type: System.Object
Specifies the result value that corresponds to successful execution of the launched process.
StringOutput
Type: System.String
Contains the text output by the process at runtime. This parameter is populated if the 'Wait for Exit' property is set to 'True'. This is a read-only output parameter.
Int32Output
Type: System.Int32
Contains the return code from the process at runtime. This parameter is populated only if the 'Wait for Exit' property is set to 'True'. This is a read-only output parameter.
Add Comment