File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -93,11 +93,11 @@ $command->setStdIn('string');
93
93
PHP working dir.
94
94
* ` $procEnv ` : An array with environment variables to pass to ` proc_open() ` . Default is ` null ` for none.
95
95
* ` $procOptions ` : An array of ` other_options ` for ` proc_open() ` . Default is ` null ` for none.
96
- * ` $nonBlockingMode ` : Whether to set the stdout/stderr streams to non-blocking
97
- mode when ` proc_open() ` is used. This can fix issues with long running
98
- commands that hang indefinitely but can cause problems on Windows systems.
99
- The default is ` null ` in which case non-blocking mode is only enabled on
100
- non-Windows systems .
96
+ * ` $nonBlockingMode ` : Whether to set the stdin/ stdout/stderr streams to non-blocking
97
+ mode when ` proc_open() ` is used. This allows to have huge inputs/outputs
98
+ without making the process hang. The default is ` null ` which will enable
99
+ the feature on Non-Windows systems. Set it to ` true ` or ` false ` to manually
100
+ enable/disable it. Note that it doesn't work on Windows .
101
101
* ` $locale ` : The locale to (temporarily) set with ` setlocale() ` before running the command.
102
102
This can be set to e.g. ` en_US.UTF-8 ` if you have issues with UTF-8 encoded arguments.
103
103
Original file line number Diff line number Diff line change @@ -54,11 +54,11 @@ class Command
54
54
public $ procOptions ;
55
55
56
56
/**
57
- * @var bool|null whether to set the stdout/stderr streams to non-blocking mode
58
- * when `proc_open()` is used. This can fix issues with long running
59
- * commands that hang indefinitely but can cause problems on Windows
60
- * systems. The default is `null` in which case non-blocking mode is only
61
- * enabled on non- Windows systems .
57
+ * @var bool|null whether to set the stdin/ stdout/stderr streams to
58
+ * non-blocking mode when `proc_open()` is used. This allows to have huge
59
+ * inputs/outputs without making the process hang. The default is `null`
60
+ * which will enable the feature on Non-Windows systems. Set it to `true`
61
+ * or `false` to manually enable/disable it. It does not work on Windows.
62
62
*/
63
63
public $ nonBlockingMode ;
64
64
You can’t perform that action at this time.
0 commit comments