From: christopher s. <chr...@ya...> - 2001-03-05 16:37:53
|
Im sorry to repeat this .. But has no one seen this question so far ? Please tell me atleast whether it can be done or it can't be done ? Thanks chris ----- Original Message ----- From: christopher sagayam <chr...@ya...> To: <per...@li...> Sent: Monday, March 05, 2001 1:37 PM Subject: [perl-win32-gui-users] Re: daemon process in win98--on the same note 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 <chr...@ya...> To: <per...@li...> 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 _______________________________________________ Perl-Win32-GUI-Users mailing list Per...@li... http://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com |