Skip to content

Exec Producer

Simon Mourier edited this page Feb 19, 2020 · 1 revision

The Exec Producer is a producer that lets you execute any program. Basically, if ever for some reason you to run an external program among the production pipeline, this is the producer to use to set this logic.

As other producers, to add it, you must click on the “Add New Producer” context menu of the Producers folder node:

Exec Producer - Picture 292

  • Command Line: The command line to execute.

  • Working Directory: The initial directory for the process to be started.

Note: The project's default namespace can be used in the path attribute by using the keyword {1:DefaultNamespace}.

The producer has also several advanced attributes (Advanced Properties tab):

Exec Producer - Picture 293

  • Redirect Output”: Indicates if process output must be redirected.

  • Create No Window”: Indicates whether to start the process in a new window.

  • Use Shell Execute”: Determines whether to use the operating system shell to start the process.

  • Expected Exit Code”: Defines the expected process exit code. If the process exit code is not equals to this value, the producer will throw an error.

  • Domain”: The network domain to use when starting the process.

  • User Name”: The user name to use when starting the process.

  • Password: The password to use when starting the process.

Clone this wiki locally