[Top]
Process
Process.Process
|
Method Process.Process()->create()
- Method
create
void Process.Process(string|array(string) command_args, void|mapping(string:mixed) modifiers)
- Parameter command_args
Either a command line array, as the command_args
argument to create_process() , or a string that
will be splitted into a command line array by
calling split_quoted_string() in an operating
system dependant mode.
- Parameter modifiers
In addition to the modifiers that create_process accepts,
this object also accepts
"read_callback" : function(Process:void) | This callback is called when there is data to be read
from the process.
|
"timeout_callback" : function(Process:void) | This callback is called if the process times out.
|
"timeout" : int | The time it takes for the process to time out. Default is
15 seconds.
|
"forkd" : int(0..1) | Use Tools.Standalone.forkd to actually spawn the process.
|
|
- Note
The default value for the "forkd" modifier may be
set via set_forkd_default() .
- See also
create_process , create_process()->create() ,
split_quoted_string() , Tools.Standalone.forkd ,
set_forkd_default() , get_forkd_default()
|