public function setCommand($command, $cwd = null, array $env = null, $input = null, $timeout = 60, array $options = array())
    {
        if (method_exists(Process::class, 'fromShellCommandline')) {
            $this->process = Process::fromShellCommandline($command, $cwd, $env, $input, $timeout, $options);

        } else {
            $this->process = new Process($command, $cwd, $env, $input, $timeout, $options);
        }
    }