Hi all

Sub Somebutton_Click

{

system("c:/path/to/perlserver.exe");
}


I am trying to write a win32 gui script which will call a perl server ( any
perl daemon process for that matter!)
when a button is clicked

now

1) How do I check whether the process is aleady not running?

2) If the process is running how to STOP it ?


In unix we do a "ps -uax" etc and a "kill -9 PID" but in windows 98 what  to
do ??

chris





Reply via email to