Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Capture::Tiny alternative

by glasswalk3r (Friar)
on Mar 25, 2017 at 22:23 UTC ( [id://1185962]=note: print w/replies, xml ) Need Help??


in reply to Capture::Tiny alternative

This post is getting interesting, with several different recommendations, but I think I still can add another one...

IPC is hard... in some platforms, unreliable. MS Windows, for example, sucks completely. Even Capture::Tiny suffers over there. IPC sucks so much over there that even with a lot of gymnastics like IPC::Open3::Callback.

It works better on UNIX, but after some time experimenting with CPAN::Reporter::Smoker, it is interesting to see that a lot of time you see the related processes waiting for output from another programs on OpenBSD for any reason that I couldn't figure out so far. It works indeed, just doesn't use CPU as I would like :-)

So... bottom line, if you can go around IPC, do it. Otherwise be prepared to see weird stuff now and then.

Alceu Rodrigues de Freitas Junior
---------------------------------
"You have enemies? Good. That means you've stood up for something, sometime in your life." - Sir Winston Churchill

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2024-03-29 12:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found