Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: ExifTool & system()

by aplonis (Pilgrim)
on Oct 11, 2013 at 16:08 UTC ( #1057915=note: print w/replies, xml ) Need Help??


in reply to Re: ExifTool & system()
in thread ExifTool & system()

So I swapped each of the three system() calls for backticks like the following...

# Extract main (left) image. my $fdbk = qx|exiftool -trailer:all= $mpo -o $dir_in/L.jpg 2>&1 1>/dev +/null|; print "ExifTool error on image 1: $fdbk\n" if $fdbk;

...and no error prints from the print() command but nevertheless I get three prints of just plain...

"The system cannot find the path specified"

...in the CLI all by themselves. And the program still works. What am I failing to understand still yet?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (11)
As of 2019-07-15 17:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?