Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: ExifTool & system()

by MidLifeXis (Monsignor)
on Oct 11, 2013 at 15:02 UTC ( [id://1057902]=note: print w/replies, xml ) Need Help??


in reply to ExifTool & system()

Check what system returns. I don't think it is what you are expecting.

--MidLifeXis

Replies are listed 'Best First'.
Re^2: ExifTool & system()
by aplonis (Pilgrim) on Oct 11, 2013 at 16:08 UTC

    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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1057902]
help
Chatterbox?
and the web crawler heard nothing...

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

    No recent polls found