Re: Launch script on Linux using Putty

2007-04-02 Thread Ulysse
On Apr 2, 8:54 pm, Michael Hoffman <[EMAIL PROTECTED]> wrote: > [Michael Hoffman] > > >> If you are running bash, you can do this: > > [Grant Edwards] > > > He's not running bash. He's running busybox's shell. > > There's a nohup applet for busybox. > > > [He'd be far better off asking his questio

Re: Launch script on Linux using Putty

2007-04-02 Thread Ulysse
On Apr 2, 12:56 am, Michael Hoffman <[EMAIL PROTECTED]> wrote: > Ulysse wrote: > > Hello, > > > I have a python script which runs all the time (using of library > > threading). I would like this scipt to run on a remote linux Os using > > Putty. The problem is, when I close Putty command line windo

Re: Launch script on Linux using Putty

2007-04-02 Thread Grant Edwards
On 2007-04-02, Michael Hoffman <[EMAIL PROTECTED]> wrote: >>> 1. The easiest is to run nohup on your script in the background: >>> >>> $ nohup myscript.py > output.txt 2> error.txt & >>> >>> Then you can disconnect but your script will keep running. Try man nohup >>> for more information. >>> >>

Re: Launch script on Linux using Putty

2007-04-02 Thread Michael Hoffman
[Michael Hoffman] >> If you are running bash, you can do this: [Grant Edwards] > He's not running bash. He's running busybox's shell. There's a nohup applet for busybox. > [He'd be far better off asking his question in an OpenWRT or > Busybox forum, since it's got absolutely nothing to do with

Re: Launch script on Linux using Putty

2007-04-02 Thread Michael Hoffman
[Michael Hoffman] >> 1. The easiest is to run nohup on your script in the background: >> >> $ nohup myscript.py > output.txt 2> error.txt & >> >> Then you can disconnect but your script will keep running. Try man nohup >> for more information. >> >> 2. Use GNU screen on your remote terminal, and

Re: Launch script on Linux using Putty

2007-04-02 Thread ihccab
On Apr 2, 2:07 pm, "ihccab" <[EMAIL PROTECTED]> wrote: > On Apr 2, 1:51 pm, "Ulysse" <[EMAIL PROTECTED]> wrote: > > > > > On Apr 2, 12:56 am, Michael Hoffman <[EMAIL PROTECTED]> wrote: > > > > Ulysse wrote: > > > > Hello, > > > > > I have a python script which runs all the time (using of library >

Re: Launch script on Linux using Putty

2007-04-02 Thread ihccab
On Apr 2, 1:51 pm, "Ulysse" <[EMAIL PROTECTED]> wrote: > On Apr 2, 12:56 am, Michael Hoffman <[EMAIL PROTECTED]> wrote: > > > > > Ulysse wrote: > > > Hello, > > > > I have a python script which runs all the time (using of library > > > threading). I would like this scipt to run on a remote linux Os

Re: Launch script on Linux using Putty

2007-04-01 Thread Michael Hoffman
Ulysse wrote: > Hello, > > I have a python script which runs all the time (using of library > threading). I would like this scipt to run on a remote linux Os using > Putty. The problem is, when I close Putty command line window running > on my Win PC, the python script stops to run too. > > I tri

Launch script on Linux using Putty

2007-04-01 Thread Ulysse
Hello, I have a python script which runs all the time (using of library threading). I would like this scipt to run on a remote linux Os using Putty. The problem is, when I close Putty command line window running on my Win PC, the python script stops to run too. I tried to use cron tables instead.