Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Sending HUP signal to eclipse process
Sending HUP signal to eclipse process [message #334877] Thu, 05 March 2009 13:26 Go to next message
Eclipse User
Originally posted by: amir.nospam_pyrus.us

I was hoping that sending a HUP signal to the eclipse process would
result in the application to exist gracefully.

Having tried this, the workbench exists without prompting the user for
confirmation and query to save open files as it normally does when the
user attempts to close the workbench window.

What is happening here? Is eclipse process exiting gracefully or is the
HUP signal treated the same as the KILL signal?

Is there an option to change the current behavior?

Thanks.
Amir
Re: Sending HUP signal to eclipse process [message #334933 is a reply to message #334877] Tue, 10 March 2009 13:20 Go to previous message
Eclipse User
Originally posted by: amir.nospam_pyrus.us

Since I have not received any responses yet, please let me rephrase my
question.

I am launching an eclipse application from another application. When the
parent application exits, the eclipse application is terminated without
having a chance to save changes and exit gracefully.

Is it possible to send some kind of signal from the parent application
to the eclipse application that it should terminate.

Thanks.
Amir




Amir Kouchekinia wrote:
>
> I was hoping that sending a HUP signal to the eclipse process would
> result in the application to exist gracefully.
>
> Having tried this, the workbench exists without prompting the user for
> confirmation and query to save open files as it normally does when the
> user attempts to close the workbench window.
>
> What is happening here? Is eclipse process exiting gracefully or is the
> HUP signal treated the same as the KILL signal?
>
> Is there an option to change the current behavior?
>
> Thanks.
> Amir
>
Previous Topic:ResourceNavigator End of Life
Next Topic:Registers view...
Goto Forum:
  


Current Time: Mon Jul 28 12:41:42 EDT 2014

Powered by FUDForum. Page generated in 0.01818 seconds