Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^2: IPC::Run and ACLs?

by larryl (Scribe)
on Apr 04, 2014 at 14:04 UTC ( #1081146=note: print w/replies, xml ) Need Help??


in reply to Re: IPC::Run and ACLs?
in thread IPC::Run and ACLs?

Many thanks, I was not aware of Capture::Tiny, I see there is also a Capture::Tiny::Extended. It's not immediately clear to me how I would use those while sending info to the STDIN of the script, will have to look at that...

The SEE ALSO section in Capture::Tiny is useful, I think I will check out IPC::Open3 and IPC::Open3::Simple since those handle all of STDIN, STDOUT and STDERR - hopefully they will not suffer from the same permissions problem as IPC::Run.

Replies are listed 'Best First'.
Re^3: IPC::Run and ACLs?
by kcott (Chancellor) on Apr 04, 2014 at 22:11 UTC
    "... Capture::Tiny ... not immediately clear to me how I would use those while sending info to the STDIN ..."

    Looking at other responses you've posted in this thread, I do see STDIN mentioned. I didn't notice that when I first replied: Capture::Tiny probably is unsuitable.

    IPC::Open3 is part of the core Perl distribution; if that turns out to suitable (ACL-wise), then there's no installation requirement.

    -- Ken

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1081146]
help
Chatterbox?
[Lady_Aleena]: shmem, there is MP3::Info/
[Discipulus]: too much complex qx when you know perl are better to avoid
[marioroy]: might need to backslash \'*.mp3\'
[marioroy]: It's a quoting issue inside qx. It's File::Find or qx. LA chooses qx. Almost there.
[marioroy]: Also \"%S\\\n\" oh my, not fun.
[Discipulus]: good night folks
[marioroy]: I will make a mp3info script that takes the -p "%S\n" args and test qx. I'm on the road, so will come back.
[marioroy]: All because File::Find is not fun for LA.
[marioroy]: good night Discipulus.
[Discipulus]: perl dreams to you all

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (11)
As of 2017-04-23 21:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (432 votes). Check out past polls.