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

Re^3: IPC::Run / bash pipe

by ag4ve (Monk)
on Nov 07, 2013 at 02:11 UTC ( #1061516=note: print w/ replies, xml ) Need Help??


in reply to Re^2: IPC::Run / bash pipe
in thread IPC::Run / bash pipe

Oh, nm, I'm blind (or not paying attention) - that works

my $success = run [$ipt_cmd => 'iptables-restore'], '<', \(join("\n". @iptout)), '>', \my $cmdout, '2>&1';

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2016-06-29 23:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (388 votes). Check out past polls.