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 #28612 is a reply to message #28582] Wed, 08 September 2010 10:56 Go to previous messageGo to previous message
jpderyck is currently offline  jpderyck
Messages: 15
Registered: October 2008
Location: Belgium
Promising Member
hello andrei_natanael

thanks for your suggestion:

system("/path/to/app &"); works fine but
Sys("/path/to/app &"); does not ?

finally the combination of

Sys("pidof app"); to know if app is running
Sys("killall -SIGKILL app"); to stop app and
system("/path/to/app &"); to restart the app

works fine without zombie process (<defunct>)
for dolik.rce:

I will check the other method with the LocalProcess:
IsRunning();
Kill();
Start();

with new release of upp

best regards
Jean-Paul
 
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: Wed Jun 18 05:22:44 CEST 2025

Total time taken to generate the page: 0.04150 seconds