Pablo Q. - Ahora en: TicoWarez.com/TicoWarez.org/T wrote:
I came from linux into windows, I was calling all scripts using ‘nohup’
linux command. I’m trying to port several scripts to windows service but
can’t call them if they use ‘puts’. So I was thinking in some way to do
this, I don’t like to change all code, I mean change every ‘puts’ to
‘file.puts’. Any suggestion?
Quote from Programming Ruby:
In these cases, you’ll want to use rubyw.exe. It is the same as ruby.exe
except that it does not provide standard in, standard out, or standard
error, and does not launch a DOS shell when run.