Howdy Nuke Python,

I need to make Batch Nuke 6.3 on Linux exit with a return code that is not
0 when a Read node encounters a missing file. We only want to enable this
in batch mode, but not in interactive mode. I was hoping there'd be a
command-line option to use with nuke -x, but the documentation does not
list anything.

As we have (like probably everybody on this list) a wrapper around the Read
nodes which construct the filenames procedurally, we can cause Nuke to exit
using python's sys.exit( -1 ), if that's allowed - but if there's an
official way to do this, I'd prefer to do it "right".

Does anyone know how I can do this?

Thanks,

Chris

-- 
I think this situation absolutely requires that a really futile and stupid
gesture be done on somebody's part. And we're just the guys to do it.
_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

Reply via email to