Skip to content

Commit 32a3938

Browse files
committed
Add more options to README
1 parent 3b58fb0 commit 32a3938

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,10 @@ $command->addArg('--keys', array('key1','key2')
7878
* `$procEnv`: An array with environment variables to pass to `proc_open()`. Default is `null` for none.
7979
* `$procOptions`: An array of `other_options` for `proc_open()`. Default is `null` for none.
8080

81+
You can configure all these properties via an array that you pass in the constructor. You can also
82+
pass `command`, `execCommand` and `args` as options. This will call the respective setter (`setCommand()`,
83+
`setExecCommand()`, etc.).
84+
8185
### Methods
8286

8387
* `__construct($options = null)`

0 commit comments

Comments
 (0)