StoreProcess::Shell
- Class for a StoreProcess that is run as a shell-command.
This class is used in the same way as the StoreProcess-class. Please see the StoreProcess-class for more info.
Class for a StoreProcess that is run as a shell-command.
The class is used in the same way as the StoreProcess-class. Please seee the StoreProcess-class for more information.
Instantiates the constructor of the class.
It is inherited from the StoreProcess-class and takes the same parameteres (see the StoreProcess-class for more information).
In addition it takes the parameter:
echocmd The command or binary to use to print something to the screen in the shell. It is used for internal mechanisms of the execution of the shell-command. It defaults to /bin/echo.
redirerr Set if STDERR is to be redirected to standard output or not. Valid settings are 1 for true, 0 for false. It defaults to 1 (true).
redirect Set the redirect STDERR to STDOUT command. If not specified will default to "2>&1".
Returns the StoreProcess-instance.
Starts the shell-process and runs command specified in the pars-option of new (see the StoreProcess-class).
This method is inherited from the StoreProcess-class. Please see the StoreProcess-class for more information.
The method is not to be called by the user and is for internal use.
Cleans up after the shell-process when it ends.
This method is inherited from the StoreProcess-class. Please see the StoreProcess-class for more information.
The method is for internal use and is not to be called by the user.
Stops the shell-process running.
This method is inherited from the StoreProcess-class. Please see the StoreProcess-class for more information.
The method is for internal use and is not to be called by the user.