From: Spencer O. <sp...@sp...> - 2006-02-27 16:12:58
|
A simple solution is to try nohup, which stands for 'no hangup'. It keeps the program running after the console logs off. Best to redirect the output to the bit bucket as well. I usually run like: `nohup <command> >/dev/null` Spencer Jérôme Multrier wrote: > Hello ! > your program runs in your putty session, so it kills when your putty > disconnects. > You should try start-stop-daemon to make your program run in background > The best way is to create a s* file in /etc/init.d (minus s to not run > your start script at boot) > > On 2/26/06, *Steve Bullock* <ste...@gm... > <mailto:ste...@gm...>> wrote: > > Hi, > > I'm logging GPS using a serial logging c program that I start in a > putty window over bluetooth. It outputs to the putty console and logs > to a file. I'd like to take this out of range of my bluetooth > connection, then reconnect and download the log. > > When it's in range, the logger will log indefinitely (>20min), but > when I disconnect bluetooth, the log ends within a couple of minutes. > If I reactivate my connection the gumstix will reconnect - if I do a > ps then my logger shows as still running, but the log file isn't > getting any bigger. > > Any idea how I can get my log to persist without the bluetooth > connection? I expect there's a better way to code this, but I'm not > that hot on the programming side... > > Thanks > Steve > > -- > Steve Bullock > * ste...@gm... <mailto:ste...@gm...> > * 07977 216406 > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the > live webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmdlnk&kid0944&bid$1720&dat1642 > <http://sel.as-us.falkag.net/sel?cmdlnk&kid%110944&bid$1720&dat%121642> > _______________________________________________ > gumstix-users mailing list > gum...@li... > <mailto:gum...@li...> > https://lists.sourceforge.net/lists/listinfo/gumstix-users > <https://lists.sourceforge.net/lists/listinfo/gumstix-users> > > > > > -- > Jérôme Multrier > TinyCoach, un projet KaliBee |