I think I was confused by Julia eliding the "
s:
julia> `exiv2 -M"set Exif.Photo.UserComment My Photo3" image.jpg`
`exiv2 '-Mset Exif.Photo.UserComment My Photo3' image.jpg`
I assumed this would fail. So I tried this:
julia> run(`exiv2 -M\"set Exif.Photo.UserComment My Photo3\" image.jpg`)
-M option 1: Invalid command line:
exiv2: Error parsing -M option arguments
Usage: exiv2 [ options ] [ action ] file ...
Manipulate the Exif metadata of images.
ERROR: failed process: Process(`exiv2 '-M"set' Exif.Photo.UserComment My 'Photo3"' image.jpg`, ProcessExited(1)) [1]
and I think from here I went down a rabbit hole instead of just doing the simplest thing, running the original command :sweat_smile:
yeah, Cmd printing is very confusing
Julia tries to be too smart for its own good
mbaz has marked this topic as resolved.
Last updated: Oct 02 2023 at 04:34 UTC