Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Concurrency with IPC::Run3 ?

by haukex (Archbishop)
on Jul 04, 2022 at 06:31 UTC ( [id://11145261]=note: print w/replies, xml ) Need Help??


in reply to Concurrency with IPC::Run3 ?

is it even possible to have a bidirectional communication between two simultaneously running processes with run3?

No, IPC::Run3 doesn't support interactive communications with the subprocesses. IIRC, it does most of its I/O redirections via files, since that's the most portable.

If not what's the appropriate solution?

I've had success with IPC::Run. According to CPAN Testers it's not as portable, but so far I haven't had problems with it.

Replies are listed 'Best First'.
Re^2: Concurrency with IPC::Run3 ?
by LanX (Saint) on Jul 04, 2022 at 13:44 UTC
    Thanks a lot, that helped.

    For the time being I will "bake smaller buns" and to set my sights lower and start with a prove of concept with one integrated application for this, most likely with Tk.

    If that works I'll split it up into a parent-child structure and try to find the most portable interface.

    The parent is basically for testing the child-server, before trying to plug it into an IDE.

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    Wikisyntax for the Monastery

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (2)
As of 2024-04-25 21:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found