.bash_profile Exit 2003-12-04 - By Suat Lee
Back Steven W. Orr wrote:
> On Tuesday, Dec 2nd 2003 at 10:43 +0800, quoth Suat Lee: > > =>Hi, > => > =>We had just upgraded Linux from 6.2 to 7.3 and is having problem with > =>.bash_profile's 'exit'. > => > =>User's .bash_profile reads as follows: > =>... > =>cd /dir1 > =>./menu > =>exit > => > =>When user login, menu will be prompted for user to start a few processes > =>and those processes are supposed to be running even after user exit from > =>login session. In 6.2, this is running well. > => > =>In 7.3, the processes are killed whenever user exit from login session. > =>If those lines were commented, and user manually cd /dir1 and ./menu, > =>the processes will be running well after exit. Is there a way to keep > =>the processes running after exit in .bash_profile of 7.3? > => > =>Rgds, > > I don't have a clue what your problem is, but you could try > > exec ./menu > > instead. The exit after the exec would be superfluous. >
Thanks for all the help. nohup works. As for exec, processes still get killed as soon as user exit.
|
|