Hi all  ,

On the same note

Is it possible to write a win32 GUI perl server daemon script ..

if  so what are the precautions I should take  ??

Particularly because the

Win32::GUI::Dialog() indefinite Loop should not interfere with the

while (1){} indefinite loop of the perl server

Is it possible to integrate them both at all ?


chris

----- Original Message -----
From: christopher sagayam <[EMAIL PROTECTED]>
To: <perl-win32-gui-users@lists.sourceforge.net>
Sent: Monday, March 05, 2001 1:31 PM
Subject: daemon process in win98


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