Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- C:\Users\Jon\Documents\RubyDev\sandbox>jruby --1.9 -Xlaunch.inproc=false system_ruby.rb --start
- [INFO] doing some work via system()...
- jruby 1.6.0.RC2 (ruby 1.9.2 patchlevel 136) (2011-02-09 5434c72) (Java HotSpot(TM) Client VM 1.6.0_24) [Windows 7-x86-java]
- [INFO] OK, I'm back from the working case.
- [INFO] playing with processes via system()...
- [INFO] starting 1st system using '--start' style
- *** FAIL: both hang with 1st system after starting .exe, never return ***
- C:\Users\Jon\Documents\RubyDev\sandbox>jruby --1.9 -Xlaunch.inproc=false system_ruby.rb --cmd-start
- [INFO] doing some work via system()...
- jruby 1.6.0.RC2 (ruby 1.9.2 patchlevel 136) (2011-02-09 5434c72) (Java HotSpot(TM) Client VM 1.6.0_24) [Windows 7-x86-java]
- [INFO] OK, I'm back from the working case.
- [INFO] playing with processes via system()...
- [INFO] starting 1st system using '--cmd-start' style
- *** FAIL: both hang with 1st system after starting .exe, never return ***
- C:\Users\Jon\Documents\RubyDev\sandbox>jruby --1.9 -Xlaunch.inproc=false system_ruby.rb --popen
- [INFO] doing some work via system()...
- jruby 1.6.0.RC2 (ruby 1.9.2 patchlevel 136) (2011-02-09 5434c72) (Java HotSpot(TM) Client VM 1.6.0_24) [Windows 7-x86-java]
- [INFO] OK, I'm back from the working case.
- [INFO] playing with processes via system()...
- [INFO] starting 1st system using '--popen' style
- [INFO] back from 1st system; starting 2nd system
- *** FAIL ***
- 5434c72: did not start .exe; required CTRL-C to exit
- c813123: started .exe but never returned from 1st system
- C:\Users\Jon\Documents\RubyDev\sandbox>jruby --1.9 -Xlaunch.inproc=false system_ruby.rb --popen-start-str
- [INFO] doing some work via system()...
- jruby 1.6.0.RC2 (ruby 1.9.2 patchlevel 136) (2011-02-09 5434c72) (Java HotSpot(TM) Client VM 1.6.0_24) [Windows 7-x86-java]
- [INFO] OK, I'm back from the working case.
- [INFO] playing with processes via system()...
- [INFO] starting 1st system using '--popen-start-str' style
- org/jruby/RubyIO.java:3675:in `popen19': Cannot run program "start" (in directory "C:\
- Users\Jon\Documents\RubyDev\sandbox"): CreateProcess error=2, The system cannot find t
- he file specified (IOError)
- from system_ruby.rb:32:in `fails'
- from system_ruby.rb:71:in `(root)'
- *** FAIL ***
- C:\Users\Jon\Documents\RubyDev\sandbox>jruby --1.9 -Xlaunch.inproc=false system_ruby.rb --popen-args
- [INFO] doing some work via system()...
- jruby 1.6.0.RC2 (ruby 1.9.2 patchlevel 136) (2011-02-09 5434c72) (Java HotSpot(TM) Client VM 1.6.0_24) [Windows 7-x86-java]
- [INFO] OK, I'm back from the working case.
- [INFO] playing with processes via system()...
- [INFO] starting 1st system using '--popen-args' style
- [INFO] back from 1st system; starting 2nd system
- *** FAIL ***
- 5434c72: required CTRL-C to exit
- c813123: did not start .exe but completed
Add Comment
Please, Sign In to add comment