![]() |
|
|
|
|
|||||||
| 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. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| kills command | shwe | UNIX for Dummies Questions & Answers | 1 | 05-13-2008 08:03 AM |
| Linux kills windows :( | woofie | Linux | 6 | 05-16-2005 05:19 PM |
| Where can I find a list of exit codes? (Exit code 64) | jkuchar747 | UNIX for Dummies Questions & Answers | 3 | 12-07-2004 03:08 PM |
| PHP function kills my code? | l008com | Shell Programming and Scripting | 10 | 12-15-2003 09:02 PM |
| exit from telnet kills orbix process | edgarm | UNIX for Dummies Questions & Answers | 1 | 11-27-2000 11:18 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
application exit kills shells
Hi all,
I start my application from a shell command-line. When I exit my application, it kills the shell that its returning too. Worse yet, since I have init respawning the shell all those subsequent shells get killed automatically...so I get output like the following (the >> is the prompt for my application).... >>quit # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # And this just continues endlessly. Anyone have any idea why this would happen. I was thinking maybe some signal control or terminal control or something that I do in the app. but I can't think of anything? Thanks, - MikeQ |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
Are you trapping SIGCHLD in the parent shell?
You might want to post some of the script. |
|
#3
|
||||
|
||||
|
how does your application start? does it do an "exec /my/app" as one of the first lines in the script? if it does, exiting off the application will terminate your login shell and will also terminate every shell that init respawns if there is a condition that script checks for but cannot find ....
|
||||
| Google The UNIX and Linux Forums |
| Thread Tools | |
| Display Modes | |
|
|