Process.execute

Execute a process using the arguments that were supplied to the constructor or to the args property.

Once the process is executed successfully, its input and output can be manipulated through the stdin, stdout and stderr member PipeConduit's.

class Process
execute
()

Return Value

Type: Process

A reference to this process object for chaining.

Throws

ProcessCreateException if the process could not be created successfully; ProcessForkException if the call to the fork() system call failed (on POSIX-compatible platforms).

Remarks: The process must not be running and the list of arguments must not be empty before calling this method.

Meta