CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

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

Post #1 of 2 (2685 views)
Post deleted by zenith007

 


shest75
Novice

Oct 27, 2009, 11:35 AM

Post #2 of 2 (2663 views)
Re: [zenith007] How to store the process ID from perl script [In reply to] Can't Post

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.

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives