Home » U++ Library support » U++ Core » Write an app to start and kill another app periodically
Re: Write an app to start and kill another app periodically [message #28618 is a reply to message #28607] |
Wed, 08 September 2010 11:25   |
|
jpderyck wrote on Wed, 08 September 2010 10:36 | thanks for bug fix
can you tell me if the Kill() method of the LocalProcess has the same effectiveness than the 'killall -SIGKILL' because the goal is to kill a hung application (I know the best thing should be to fix the application wich enter in hung state but for the moment I do not find the bug...)
best regards
Jean-Paul
|
It uses SIGTERM to end the process. If I am not mistaken, if the process won't terminate the result will be the same as calling Detach(), so the LocalProcess is ready for next use. That would of course left your hanged up app running, until it exits whatever loop it stuck in and processes the SIGTERM.
Is there any way we could help you with the hanging app?
Honza
|
|
|
 |
|
Write an app to start and kill another app periodically
By: jpderyck on Thu, 29 April 2010 17:33
|
 |
|
Re: Write an app to start and kill another app periodically
By: koldo on Thu, 29 April 2010 17:51
|
 |
|
Re: Write an app to start and kill another app periodically
|
 |
|
Re: Write an app to start and kill another app periodically
By: jpderyck on Fri, 30 April 2010 10:32
|
 |
|
Re: Write an app to start and kill another app periodically
|
 |
|
Re: Write an app to start and kill another app periodically
By: jpderyck on Tue, 07 September 2010 15:16
|
 |
|
Re: Write an app to start and kill another app periodically
By: dolik.rce on Tue, 07 September 2010 15:55
|
 |
|
Re: Write an app to start and kill another app periodically
By: jpderyck on Tue, 07 September 2010 18:23
|
 |
|
Re: Write an app to start and kill another app periodically
By: dolik.rce on Tue, 07 September 2010 22:07
|
 |
|
Re: Write an app to start and kill another app periodically
|
 |
|
Re: Write an app to start and kill another app periodically
By: jpderyck on Wed, 08 September 2010 10:56
|
 |
|
Re: Write an app to start and kill another app periodically
By: jpderyck on Wed, 08 September 2010 10:36
|
 |
|
Re: Write an app to start and kill another app periodically
By: dolik.rce on Wed, 08 September 2010 11:25
|
 |
|
Re: Write an app to start and kill another app periodically
By: jpderyck on Wed, 08 September 2010 16:26
|
Goto Forum:
Current Time: Mon Jun 16 17:08:47 CEST 2025
Total time taken to generate the page: 0.04530 seconds
|