Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Safely capturing the output of an external program

by dasgar (Priest)
on Mar 09, 2020 at 04:00 UTC ( #11113993=note: print w/replies, xml ) Need Help??


in reply to Safely capturing the output of an external program

For running an external program, I usually grab Capture::Tiny. The only times I have issues with Capture::Tiny is when using threads and that's due to Capture::Tiny not being thread safe.

  • Comment on Re: Safely capturing the output of an external program

Replies are listed 'Best First'.
Re^2: Safely capturing the output of an external program
by AppleFritter (Vicar) on Mar 09, 2020 at 08:03 UTC
    Right, so this can be used to wrap a call to system to capture the output, and system can be entirely de-shelled, as it were. That might work. Thank you!

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (6)
As of 2021-09-27 13:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?