Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

Re: how to implement ipc on linux?

by etcshadow (Priest)
on Feb 16, 2005 at 03:53 UTC ( #431425=note: print w/replies, xml ) Need Help??

in reply to how to implement ipc on linux?

FYI, terminology-wise, what you're talking about is often called a "co-process". A great tool for working with co-processes is IPC::Run. It can work in a "wait for the other process to finish" mode (just run the command), or in a mode that allows you to start up a co-process, and pump it along in the controller process.

Oh, another tool for co-processes is Expect.

------------ :Wq Not an editor command: Wq

Replies are listed 'Best First'.
Re^2: how to implement ipc on linux?
by redss (Monk) on Feb 16, 2005 at 22:01 UTC
    wow I sure found a lot of documentation on that IPC::Run module, but I didn't see exactly what I needed. Maybe what I need is hidden amongst all the complicated examples?

    All I need is this:

    system(command) until (done or user_aborted)

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://431425]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (6)
As of 2019-10-14 06:27 GMT
Find Nodes?
    Voting Booth?