-
Type: Improvement
-
Resolution: Fixed
-
Priority: Minor - P4
-
Affects Version/s: None
-
Component/s: None
-
None
-
Fully Compatible
Instead of Process.spawn:
- Try fork/exec to avoid the command being interpreted as shell command rather than process path
- Test on jruby, expect failure to fork
- Rescue fork error, assuming it is possible to tell the error is because fork is unsupported (jruby/windows) use Process.spawn
- When Process.spawn is used, prohibit spaces and & in mcd path