Hi -
I started a process in a PuTTY session that I want to survive after I've disconnected. I issued a `disown` on the process (forgot to add the -h option). I've attached a small summary of the commands issued within the PuTTY session as well as an excerpt from the pstree (essentially switched user contexts twice, issued command, suspended program, disown'ed, resumed program
Command summary
Code:
> su -
> ...
> su -l <useraccount>
> ./myprogram
> kill -20 <pid_of_myprogram>
> disown
> kill -18 <pid_of_myprogram>
pstree
Code:
|-sshd-+-sshd---sshd---bash---su---bash---su---bash---su---bash-+-bash
| | |-pstree
| | `-sh---[myprogram]
If I disconnect, will the program continue to run or will it survive the bash SIGHUP only to terminate when the ssh deamon thread terminates? If not, how may I ensure that the program will persist?
Thanks!