Home: Need a Custom or Prewritten Perl Program?: I need a program that...:
Post deleted by zenith007



zenith007
New User

Oct 26, 2009, 6:49 AM


Views: 4876
Post deleted by zenith007

 


shest75
Novice

Oct 27, 2009, 11:35 AM


Views: 4854
Re: [zenith007] How to store the process ID from perl script

Bonjour,
You should have a look to this module Proc:: ProcessTable.

Otherwise...If you're the developper of the C program, just read "sometime" a file to see the status of a file ( stop/start ).

You can start the C program via a shell script and put the PID in a file at the startup. So you just have to read the file from Perl to kill the process.

Hope it will help.