This website requires JavaScript.
Explore
Help
Sign In
dinislage
/
foreman
Watch
1
Star
0
Fork
0
You've already forked foreman
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
Files
baf842cdd4a0addf13492423173ae60966e0b5cd
foreman
/
lib
History
Klaas Jan Wierenga
baf842cdd4
The wrapped_command has spaces which triggers Ruby to fork a system shell (with /bin/sh -c). This causes orphaned processes on some systems (i.e. Linux). Fix this by splitting the command using String#shellsplit and using ruby's splat operator (*) to pass discrete arguments to spawn.
2013-05-02 16:30:39 +02:00
..
foreman
The wrapped_command has spaces which triggers Ruby to fork a system shell (with /bin/sh -c). This causes orphaned processes on some systems (i.e. Linux). Fix this by splitting the command using String#shellsplit and using ruby's splat operator (*) to pass discrete arguments to spawn.
2013-05-02 16:30:39 +02:00
foreman.rb
Since JRuby 1.9 doesn't require posix/spawn, only follow that path if JRuby is loaded and running in 1.8 mode.
2012-11-27 22:07:50 -07:00