3 ms·
The other month I had to wrap a commercial server program with 'screen'. 'script' wasn't enough. If you would run it in the background "./program &" and then e
by noAnswer 3y ago
The other month I had to wrap a commercial server program with 'screen'. 'script' wasn't enough.
If you would run it in the background "./program &" and then exited ssh it would also exit. It wouldn't run with cron until:
export TERM=vt100
script -c "screen /foo/bar/program" /dev/null
All the program did on the console was print to stdout. How are you even program shit like this!?
- brewedDoritos 3y ago> If you would run it in the background "./program &" and then exited ssh it would also exit. Just wondering... have you tried running it with nohup and in the background?
- noAnswer 3y agoNo, I haven't tried that.