![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here. |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
Hi there,
I've coded a script to create a menu system on an AIX machine. When user selects an item of the menu I perform a program using " nohup somepgm &" The reason I do that is because usually the scripts behind the menu items are very time-consuming and users logout and log back in later to see the result and if I don’t use "nohup" the programs stop after user logout... Am I right? Any suggestion? OK, the problem is here... When you exit from the menu program and get back to command line "jobs" command doesn't show the job is running (because when it gets kicked off by the menu system and nohup a new ksh opens and runs the program) How can I nohup the programs from the menu system in the way that I can see the job is running... I mean is there any way to nohup the program in the same ksh as the menu system. Thank you in advance...
__________________
Shaz Last edited by Shaz; 05-06-2003 at 11:29 AM. |
| Forum Sponsor | ||
|
|