Help Center>Foundation Help

Applies to:

  • Winshuttle Foundation

Execute Command Line plugin properties

The Execute Command Line plugin allows you to invoke a command line within a workflow.

Value Pair

Description

arguments

The arguments to pass to the command.

command

The command to run.

exitcodecolumn

The SharePoint column into which the exit code will be placed.

outputcolumn

The SharePoint column into which the output will be placed.

useshellexecute

Whether or not to use the shell to execute (the default is False).

Example

The following example runs the batch file e:\test.bat with the arguments taken from the SharePoint column Project. The output of the command is placed in the Output SharePoint column and the ExitCode SharePoint column receives the integral exit code of the command line.

  • arguments – [Project]
  • command–e:\test.bat
  • exitcodecolumn – ExitCode
  • outputcolumn – Output