1
0
mirror of https://github.com/danog/process.git synced 2024-11-26 20:24:43 +01:00

Merge pull request #2 from joshdifabio/patch-1

Fix 'cmd' typo in comment
This commit is contained in:
Bob Weinand 2015-06-01 15:10:19 +02:00
commit 76dc3701ef

View File

@ -24,7 +24,7 @@ class Process {
const BUFFER_STDERR = 2;
const BUFFER_ALL = 3;
/* $options are passed directly to proc_open(), "cmd" and "env" entries are passed as fourth respectively fifth parameters to proc_open() */
/* $options are passed directly to proc_open(), "cwd" and "env" entries are passed as fourth respectively fifth parameters to proc_open() */
public function __construct($cmd, array $options = [], Reactor $reactor = null) {
$this->reactor = $reactor ?: getReactor();
$this->cmd = $cmd;