[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Re: How call scripts in windows using something like 'nohup' in linux

Daniel Berger

5/8/2008 5:41:00 PM



On May 8, 11:01=A0am, "Pablo Q. - Ahora en: TicoWarez.com/TicoWarez.org/
TicoWarez.net/TicoWarez.info/" <paqs140...@gmail.com> wrote:
> Hi,
>
> 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 I=

> 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?

Reopen STDOUT and STDERR on a file. Then you don't have to change your
'puts' statements.

Regards,

Dan