Opened 12 years ago
Last modified 8 years ago
#53 assigned new-feature
application -- need ctrl-c handler for apps
Reported by: | Fred T. Hamster | Owned by: | bugdock |
---|---|---|---|
Priority: | blocker | Milestone: | |
Component: | feistymeow-nucleus | Version: | |
Keywords: | application | Cc: |
Description
- ctrl c handler must cleanup
- the control-c handler that we will activate when break is hit needs to clean up the program objects like the shared memory chunks.
- can it invoke the prog wide cleanup and then just exit?
- that will not shut down all objects cleanly however, including threads.
Change History (4)
comment:1 by , 12 years ago
Type: | defect → enhancement |
---|
comment:2 by , 8 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:3 by , 8 years ago
comment:4 by , 8 years ago
Priority: | minor → blocker |
---|
hmmm, this is both for scripts and for our apps!
Note:
See TracTickets
for help on using tickets.
really need ctrl c handling!
so we can set an exit function or something that
leaves the script right away and sets return value
to failure code.
otherwise, you hit ctrl-c and the current subshell quits
and the script just tries to keep running.
this needs to be a really tiny little bit of code
we can load easily into any bash perl python etc script.