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?