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.
|
|---|