User Tools

Site Tools


en:actions:actioncommand

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

en:actions:actioncommand [2016/10/09 11:10] (current)
Line 1: Line 1:
 +====== Command ======
  
 +This action allows you to execute a detached command. In other words it can start a program like Firefox or LibreOffice. The action starts the program exactly as is the user had clicked on it.
 +
 +//Note// : this action will execute the command and wait until it is done before passing to the next action. To execute a command without waiting for its termination,​ use the [[en:​actions:​ActionDetachedCommand|Detached command]] action.
 +
 +===== Standard parameters =====
 +==== Input parameters ====
 +== Command ==
 +The command to execute. You can choose the program to start by click on the "​..."​ button.
 +
 +//Hint//: You can also select a shortcut instead of an executable.
 +== Parameters ==
 +The program parameters to use. Multiple parameters should be separated by a space.
 +== Working directory ==
 +The working directory to associate with the command.
 +==== Output parameters ====
 +== Output ==
 +The name of the variable where to store the output text given by the command.
 +
 +===== Advanced parameters =====
 +==== Output parameters ====
 +== Output code ==
 +The name of the variable where to store the output code. (0 is the default code on most operating systems)
 +== Process id ==
 +The name of the variable where to store the process identifier of the process.
 +
 +//Note//: The process is closed after this action has finished executing.
 +
 +== Error output ==
 +The name of the variable where to store the standard error output.
 +== Statut de sortie ==
 +The name of the variable where to store the exit status.
 +===== Exceptions =====
 +
 +  * [[en:​actions:​exceptions#​Bad parameter|Bad parameter]]
 +  * [[en:​actions:​exceptions#​Code error|Code error]]
 +  * [[en:​actions:​exceptions#​timeout|Timeout]]
en/actions/actioncommand.txt ยท Last modified: 2016/10/09 11:10 (external edit)