• View Communities
    • Citrix Developer Network
      The place for unfiltered straight talk on Citrix products. Blogs, code downloads, best practices, APIs, and more can all be found here.
    • Citrix Ready Community Verified
      Does it work with Citrix? Application compatibility questions are a thing of the past with the new Citrix Community Verified site.
    • Blogs
      Learn the latest from the Citrix employees who are building application delivery infrastructure technologies.
    • Blogosphere
      The Citrix Blogosphere is a window into the thousands of conversations taking place about Citrix and Application Delivery.
  •  Sign In
Workflow Studio Developer Network

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.

Enter tags to add to this page:
Please wait 
Looking for a tag? Just start typing.
Related Links