|
|
(Already posted as question in unix newsgroup, with no answer)
From the (gral) docs: "POV-Ray itself returns such codes. It returns 0 for
success, 1 for fatal error and 2 for user abort."
I've compiled povray 3.6, in Linux, and i don't see that behavior:
It indeed returns error code if the command line is wrong...
$ povray sdasdsadasdsadasdsa
povray: cannot open the user configuration file
.....
$ echo $?
248
But it does not for other (fatal) errors, as when the file is not found:
$ povray +Iblablabla
povray: cannot open the user configuration file
....
Scene File Parser Initialization Error: Cannot open input file.
....
$ echo $?
0
Post a reply to this message
|
|