Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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

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 studying the Monastery: (9)
As of 2016-10-01 18:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?






    Results (6 votes). Check out past polls.