Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: using pipes in a system() call

by sgifford (Prior)
on Dec 07, 2005 at 20:58 UTC ( [id://515037]=note: print w/replies, xml ) Need Help??


in reply to Re: using pipes in a system() call
in thread using pipes in a system() call

With a few small changes to avoid trashing my system, and after changing $OUN to $UID, this works for me.

Maybe it's something weird with your system or your shell?. What kind of system are you on? What is $ENV{SHELL} set to? Does system("ls |cat"); work?

Or maybe it's an invisible character (like a carriage return) in one of your strings. Try piping the program through cat -e to show any nonprinting characters.

A third idea is to strace/truss/ktrace your program, to see what it's actually running.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2024-04-25 13:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found