File tree Expand file tree Collapse file tree 4 files changed +381
-69
lines changed Expand file tree Collapse file tree 4 files changed +381
-69
lines changed Original file line number Diff line number Diff line change @@ -93,6 +93,11 @@ $command->setStdIn('string');
9393 PHP working dir.
9494 * ` $procEnv ` : An array with environment variables to pass to ` proc_open() ` . Default is ` null ` for none.
9595 * ` $procOptions ` : An array of ` other_options ` for ` proc_open() ` . Default is ` null ` for none.
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.
96101 * ` $locale ` : The locale to (temporarily) set with ` setlocale() ` before running the command.
97102 This can be set to e.g. ` en_US.UTF-8 ` if you have issues with UTF-8 encoded arguments.
98103
You can’t perform that action at this time.
0 commit comments