| Anonymous | Login | Signup for a new account | 11-10-2008 11:05 PST |
| Main | My View | View Issues | Change Log | Docs |
| Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
| ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
| 0000994 | [BusyBox] Networking Support | minor | always | 08-15-06 15:31 | 02-14-08 09:10 | ||||
| Reporter | deeptho | View Status | public | ||||||
| Assigned To | BusyBox | ||||||||
| Priority | normal | Resolution | no change required | ||||||
| Status | closed | Product Version | 1.2.x | ||||||
| Summary | 0000994: when a trap command is set, shell script ignores signals nor from parent | ||||||||
| Description |
The following script hangs up with kill -HUP %1 from the current shellm but not with kill -HUP <processid> from another shell. Without the trap, it does react to signals from another shell, but of course it does not run the signal handler. This is a bug, right? Is there any way to make the script handle a signla sent from another shell> #!/bin/sh cleanup () { echo "cleaning" } trap cleanup HUP echo "sleeping " sleep 100000 echo "done" |
||||||||
| Additional Information | |||||||||
| Attached Files | |||||||||
|
|
|||||||||
| Copyright © 2000 - 2006 Mantis Group |