I'm curious about some behaviour I am seeing, and whether or not anyone has
encountered this and found it to be problematic?

oiiotool seems to exit with an exitcode 0 even if the file it was writing
failed:
https://github.com/OpenImageIO/oiio/blob/master/src/oiiotool/oiiotool.cpp#L540

So what I end up seeing in my render pipeline process is that oiiotool kind
of blows through a sequence "successfully" even if the output directory did
not exist. Is this expected behaviour or a bug? Do most people tack on a
post check that all of the frames are there? I had assumed I could rely on
the exitcode to know if the call to oiiotool failed to do the job.

Is this something that would break people if it were corrected to return a
non-zero exit code if the write fails?
_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

Reply via email to