> I have a Perl sockets app running as a service listening for miscellaneous
> messages, START being one.  If it receives a START message it will start an
> application and then continue listening.  Once the application is finished
> running I want it to send a signal/message to the service.
> 
> I could accomplish this with a second script that acts as a wrapper for the
> application and then sends a message on completion but I wanted to do it all
> within the service by forking the application and then having it signal to the
> parent process upon its completion.
> 
> James

I see. We have talked about something similar on one of the 
activestate lists a few days ago.

The second forked thread may connect to the first via socket()s and 
send a message there.

Try to search the archives for fork().

Jenda

== [EMAIL PROTECTED] == http://Jenda.Krynicky.cz ==
: What do people think?
What, do people think?  :-)
             -- Larry Wall in <[EMAIL PROTECTED]>
_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-admin

Reply via email to