[Chicago-talk] fork and talk to the parent

Randal L. Schwartz merlyn at stonehenge.com
Thu Dec 4 22:00:31 CST 2003

>>>>> "Jay" == Jay Strauss <me at heyjay.com> writes:

Jay> I want to fork a process, but then I want to child to talk to the parent.

Define "talk".  Synchronous unidirectional is trivial:

open CHILD, "some commmand|" or die;
while (<CHILD>) { ... }

Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn at stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

More information about the Chicago-talk mailing list