mirror of
https://github.com/danog/process.git
synced 2024-11-30 04:39:04 +01:00
Merge pull request #2 from joshdifabio/patch-1
Fix 'cmd' typo in comment
This commit is contained in:
commit
76dc3701ef
@ -24,7 +24,7 @@ class Process {
|
|||||||
const BUFFER_STDERR = 2;
|
const BUFFER_STDERR = 2;
|
||||||
const BUFFER_ALL = 3;
|
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) {
|
public function __construct($cmd, array $options = [], Reactor $reactor = null) {
|
||||||
$this->reactor = $reactor ?: getReactor();
|
$this->reactor = $reactor ?: getReactor();
|
||||||
$this->cmd = $cmd;
|
$this->cmd = $cmd;
|
||||||
|
Loading…
Reference in New Issue
Block a user