exit linux terminal and leave programs running


2007-09-05 Digg! icurtain Delcious icurtain

to exit it a terminal window and leave spawned process running
eg ./etc/prog/bin/run.sh &
type exit instead of logout

this causes the shell to exit with a status of n. if n is omitted the exit status is that of the last command executed. a trap on EXIT is executed before the shell terminates.