Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
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 perusing the Monastery: (8)
As of 2014-07-12 03:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (238 votes), past polls