Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Perl won't run command with "|&"

by Anonymous Monk
on Sep 19, 2013 at 22:59 UTC ( #1054918=note: print w/ replies, xml ) Need Help??


in reply to Perl won't run command with "|&"

You have leading whitespace, why is that?

Also, consider the output of perl -V:sh when you're writing your shell commands

This is what you're really executing

/bin/sh /usr/bin/wget "http://www.google.com" |& tee /path/to/tee.lo +g
I think you should try  2>&1 | tee -a ...log


Comment on Re: Perl won't run command with "|&"
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (15)
As of 2015-07-02 09:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (33 votes), past polls