Issue 508: Make SkylineCmd.exe return non-zero when a line starting with "Error:" is output

Status:closed
Assigned To:Guest
Type:Defect
Area:Skyline
Priority:2
Milestone:4.1
Opened:2017-04-23 17:32 by Brendan MacLean
Changed:2017-08-31 12:11 by Brendan MacLean
Resolved:2017-07-03 15:32 by Nick Shulman
Resolution:Fixed
Closed:2017-08-31 12:11 by Brendan MacLean
2017-04-23 17:32 Brendan MacLean
Title»Make SkylineCmd.exe return non-zero when a line starting with "Error:" is output
Assigned To»Nick Shulman
Type»Defect
Area»Skyline
Priority»3
Milestone»3.7
We need to make SkylineCmd.exe work like SkylineRunner.exe, which Vagisha recently made return non-zero when processing resulted in a line beginning with "Error:" (or its localized equivalent). This is very help for writing batch scripts that terminate when there is a failure calling SkylineCmd.exe.

2017-06-08 22:13 Brendan MacLean
Priority3»2
Milestone3.7»4.1
We do need SkylineCmd.exe to return non-zero on error no matter how you get it done.

2017-07-03 15:32 Nick Shulman
resolve as Fixed
Statusopen»resolved
Assigned ToNick Shulman»Brendan MacLean
Fixed in trunk in rev 11031
SkylineCmd.exe will exit with 1 if there was an error in the command line arguments, and Skyline was not even able to start
SkylineCmd.exe will exit with 2 if Skyline was able to start, but there were some errors.
Exit code 0 means no errors.

2017-08-31 12:11 Brendan MacLean
close
Statusresolved»closed
Assigned ToBrendan MacLean»Guest