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.