Skip to content

Commit 3b58fb0

Browse files
committed
Add missing options to README
1 parent 7bc6113 commit 3b58fb0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,11 @@ $command->addArg('--keys', array('key1','key2')
6868
* `$escapeArgs`: Whether to escape any argument passed through `addArg()`. Default is `true`.
6969
* `$escapeCommand`: Whether to escape the command passed to `setCommand()` or the constructor.
7070
This is only useful if `$escapeArgs` is `false`. Default is `false`.
71+
* `$useExec`: Whether to use `exec()` instead of `proc_open()`. This is a workaround for OS which
72+
have problems with `proc_open()`. Default is `false`.
73+
* `$captureStdErr`: Whether to capture stderr when `useExec` is set. This will try to redirect
74+
the otherwhise unavailable `stderr` to `stdout`, so that both have the same content on error.
75+
Default is `true`.
7176
* `$procCwd`: The initial working dir passed to `proc_open()`. Default is `null` for current
7277
PHP working dir.
7378
* `$procEnv`: An array with environment variables to pass to `proc_open()`. Default is `null` for none.

0 commit comments

Comments
 (0)