README.md in frontkick-0.4.8 vs README.md in frontkick-0.4.9
- old
+ new
@@ -61,9 +61,13 @@
Frontkick.exec(["sleep 100"], :kill_child => true)
NOTE: This uses Kernel.trap inside.
NOTE: Shoud use `[]` form, otherwirse `sh -c 'sleep 100'` is ran, and frotkick kills sh process, but sleep process remains
+### Spawn Options
+
+Other options such as :chdir are treated as options of `Kernel.#spawn`. See http://ruby-doc.org/core-2.3.0/Kernel.html#method-i-spawn for available options.
+
### Hint: Redirect stderr to stdout
Frontkick itself does not aid anything, but you can do as
result = Frontkick.exec(["ls /something_not_found 2>&1"])