... all of which are kludgey and assume you don't care about error handling here (e.g. no nohup output; does program really start up ok?).# You need EOF on input... system("nohup program </dev/null >/dev/null 2>&1 &"); # You need 1 line of empty input... system("/bin/echo | nohup program >/dev/null 2>&1 &"); # You need infinite lines of empty input system("yes '' | nohup program >/dev/null 2>&1 &");
bluto
In reply to Re: hanging process
by bluto
in thread hanging process
by pappajaz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |