This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 231174 - Possiblity to terminate processes different ways using sigterm and sigkill
Summary: Possiblity to terminate processes different ways using sigterm and sigkill
Alias: None
Product: platform
Classification: Unclassified
Component: Execution (show other bugs)
Version: 7.3.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: Petr Hejl
Depends on:
Reported: 2013-06-12 19:26 UTC by kalle1
Modified: 2013-09-19 13:47 UTC (History)
0 users

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description kalle1 2013-06-12 19:26:24 UTC
Hi together,
I'd like to suggest a second possibility to terminate processes (instead of only terminating them with a kill signal). The idea behind is to provide a possibilty to execute shutdown hooks. Instead of argueing which one of signal kill and term is better (see #22641) I suggest to provide both.
Thanks in advance for taking care about this.
Comment 1 Marian Mirilovic 2013-06-13 06:11:10 UTC
Could you please write here more details ? Please read, add more details and reopen. Thanks in advance.
Comment 2 kalle1 2013-06-14 20:36:09 UTC
The idea is e.g. to provide two cancel buttons for run and test processes. I don't know how NetBeans handles this internally and it doesn't matter. The important behind the idea is that next to the existing cancel button (which kills the process no questions asked) one button (or context menu entry or another GUI element) should exist to cancel the process in a way that shutdown hooks are called in order to simulate a System.exit or a term signal which one would send if the program was running into the console.