Run Command Line

The Run Command Line step can be used to run arbitrary commands. These will be executed with "cmd.exe" (on Windows) or "bash" (on Linux), so no prefix is needed on the command lines themselves.

Note that the command specified should not ask for user input, as that would hang the process. There is presently no user interaction allowed with the started command (it will run hidden).

Optional settings can be specified to configure the working directory (it will default to the location of the content item specified), the success codes (defaulting to "0 3010"), and a timeout (in minutes) before the started process is automatically terminated (causing the step to fail).

The output from the command will automatically be captured into the DeployR log.

Note: Most commands could also be executed using a Run PowerShell script step.

Last updated