Process.execute

Execute a process using the arguments as parameters to this method.

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

More...
  1. void execute(const(char)[] arg1, const(char[])[] args)
    class Process
    deprecated
    void
    execute
    (
    const(char)[] arg1
    ,
    const(char[])[] args...
    )
  2. void execute(const(char)[] command, const(char[])[const(char)[]] env)
  3. void execute(const(char[])[] args, const(char[])[char[]] env)
  4. Process execute()

Detailed Description

Deprecated: Use constructor or properties to set up process for execution.

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 provided list of arguments must not be empty. If there was any argument already present in the args member, they will be replaced by the arguments supplied to the method.

Meta