public function execute($path, array $args = [], array $envs = [])
    {
        if (false === @pcntl_exec($path, $args, $envs)) {
            throw new RuntimeException('Error when executing command');
        }
    }
public function execute($path, array $args = [], array $envs = [])
    {
        if (false === @pcntl_exec($path, $args, $envs)) {
            throw new RuntimeException('Error when executing command');
        }
    }
public function execute ( $ path , array $ args = [ ] , array $ envs = [ ] ) { if ( false === @ pcntl_exec ( $ path , $ args , $ envs ) ) { throw new RuntimeException ( 'Error when executing command' ) ; } }
Executes specified program in current process space.

@param string $path
@param array  $args
@param array  $envs

@throws RuntimeException When get an error.
Executes specified program in current process space .