Re: start ruby process



2008/9/26 Junkone <junkone1@xxxxxxxxx>:
how to start a ruby process that is not dependent on the process
initiaing it.
i tried doing system('ruby myCron.rb') but as soon as my process
ended, the mycron.rb process disappeared.
any ideas


If you are running on Windows, try system('start ruby myCron.rb')

Regards,

Park Heesob

.



Relevant Pages

  • Re: [OT] Trying to change my OS from Windows to Linux/Mac
    ... > This is not about Ruby itself but about OS. ... > I use Windows at my work and home. ... > I have some questions to linux users and Mac users. ... RPM - after searching some days for all neccesary rpms for upgrading ...
    (comp.lang.ruby)
  • [ANN] Ruby Win32 Drag and Drop 0.5
    ... allows Ruby scripts to be executed by dragging and dropping either ... the Windows shell provides the files names ... Install Ruby using the One Click Installer. ...
    (comp.lang.ruby)
  • Re: Ruby C/C++ Interface
    ... unixy systems under windows than on those unixy systems. ... But the Ruby ... Because ruby is unix focussed. ...
    (comp.lang.ruby)
  • Re: problems closing a CD
    ... >> stop the process, I input a zero length volume label (well, on Windows I ... on Linux this errors off, but that's not my current problem). ... When I tried to close it, ruby refuses to ... lsof will show you your process' open files. ...
    (comp.lang.ruby)
  • Re: problems closing a CD
    ... >> stop the process, I input a zero length volume label (well, on Windows I ... on Linux this errors off, but that's not my current problem). ... When I tried to close it, ruby refuses to ... lsof will show you your process' open files. ...
    (comp.lang.ruby)