Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 Go to previous messageGo to previous message
dolik.rce is currently offline  dolik.rce
Messages: 1791
Registered: August 2008
Location: Czech Republic
Ultimate Contributor

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
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [BUG&FIX] LocalProcess can not be reused
Next Topic: String.Mid() and Unicode
Goto Forum:
  


Current Time: Mon Jun 16 17:08:47 CEST 2025

Total time taken to generate the page: 0.04530 seconds