bool setOption(
string
$in_option, mixed
$in_setting)
|
|
Sets the value for an option. Each option should be set to true or false; except the 'SHELL' option which should be a string naming a shell. The options are:
'SEQUENCE' Allow a sequence command or not (right now this is always on);
'SHUTDOWN' Execute commands via a shutdown function;
'SHELL' Path to shell;
'OUTPUT' Output stdout from process;
'NOHUP' Use nohup to detach process;
'BACKGROUND' Run as a background process with &;
'STDERR' Output on stderr will raise an error, even if the command's exit value is zero. The output from stderr can be retrieved using the getDebugInfo() method of the Pear_ERROR object returned by execute().;
'AUTORESET' Automatically call reset() after a successful call of execute();
Parameters: