<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>28 Apr 2016 13:44:51 Z</lastBuildDate><pubDate>28 Apr 2016 13:44:51 Z</pubDate><description>Hi all,&#13;
&#13;
For a self-scan ECR/ POS system I would like to have a service running that checks if the POS software is running. In case of a crash, the service could restart the program.&#13;
&#13;
Is there an elegant solution to do this? I was thinking of using tasklist.exe&#13;
[code:wl]&#13;
ExeRun("tasklist.exe"" /FI ""PID eq 4976"" /FI ""STATUS eq RUNNING"" /NH",exeActif,exeValeurRetour)&#13;
[/code]&#13;
&#13;
But since the return value is a integer, I can't do much with it.&#13;
&#13;
Any thoughts?&#13;
&#13;
&#13;
Thx,&#13;
&#13;
Tim</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/57446-service-check-program-running/read.awp</link><title>Service: check is program running</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster></channel></rss>
