Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

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 "" |& 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?

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (11)
As of 2015-11-25 18:52 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (685 votes), past polls