Guest User

Untitled

a guest
Jul 21st, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.73 KB | None | 0 0
  1. C:\Users\Jon\Documents\RubyDev\sandbox>jruby --1.9 -Xlaunch.inproc=false system_ruby.rb --start
  2. [INFO] doing some work via system()...
  3. 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]
  4. [INFO] OK, I'm back from the working case.
  5. [INFO] playing with processes via system()...
  6. [INFO] starting 1st system using '--start' style
  7. *** FAIL: both hang with 1st system after starting .exe, never return ***
  8.  
  9.  
  10. C:\Users\Jon\Documents\RubyDev\sandbox>jruby --1.9 -Xlaunch.inproc=false system_ruby.rb --cmd-start
  11. [INFO] doing some work via system()...
  12. 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]
  13. [INFO] OK, I'm back from the working case.
  14. [INFO] playing with processes via system()...
  15. [INFO] starting 1st system using '--cmd-start' style
  16. *** FAIL: both hang with 1st system after starting .exe, never return ***
  17.  
  18.  
  19. C:\Users\Jon\Documents\RubyDev\sandbox>jruby --1.9 -Xlaunch.inproc=false system_ruby.rb --popen
  20. [INFO] doing some work via system()...
  21. 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]
  22. [INFO] OK, I'm back from the working case.
  23. [INFO] playing with processes via system()...
  24. [INFO] starting 1st system using '--popen' style
  25. [INFO] back from 1st system; starting 2nd system
  26. *** FAIL ***
  27. 5434c72: did not start .exe; required CTRL-C to exit
  28. c813123: started .exe but never returned from 1st system
  29.  
  30.  
  31. C:\Users\Jon\Documents\RubyDev\sandbox>jruby --1.9 -Xlaunch.inproc=false system_ruby.rb --popen-start-str
  32. [INFO] doing some work via system()...
  33. 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]
  34. [INFO] OK, I'm back from the working case.
  35. [INFO] playing with processes via system()...
  36. [INFO] starting 1st system using '--popen-start-str' style
  37. org/jruby/RubyIO.java:3675:in `popen19': Cannot run program "start" (in directory "C:\
  38. Users\Jon\Documents\RubyDev\sandbox"): CreateProcess error=2, The system cannot find t
  39. he file specified (IOError)
  40. from system_ruby.rb:32:in `fails'
  41. from system_ruby.rb:71:in `(root)'
  42. *** FAIL ***
  43.  
  44.  
  45. C:\Users\Jon\Documents\RubyDev\sandbox>jruby --1.9 -Xlaunch.inproc=false system_ruby.rb --popen-args
  46. [INFO] doing some work via system()...
  47. 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]
  48. [INFO] OK, I'm back from the working case.
  49. [INFO] playing with processes via system()...
  50. [INFO] starting 1st system using '--popen-args' style
  51. [INFO] back from 1st system; starting 2nd system
  52. *** FAIL ***
  53. 5434c72: required CTRL-C to exit
  54. c813123: did not start .exe but completed
Add Comment
Please, Sign In to add comment