Improved error handling in gsch2pcb.
commit987021bbb5f65ce3d28bc05f1c715b49a8a8e015
authorEivind Kvedalen <eivind@kvedalen.name>
Fri, 8 Jul 2011 20:25:08 +0000 (8 21:25 +0100)
committerPeter TB Brett <peter@peter-b.co.uk>
Fri, 8 Jul 2011 20:25:08 +0000 (8 21:25 +0100)
treef64a6951a5c38da8b47ea51fb65918f52471ce14
parent22985618d999e1b54009b7a3e4f07b27b449f91d
Improved error handling in gsch2pcb.

gsch2pcb: The return code from g_spawn_sync is checked when executing gnetlist.
If g_spawn_sync is successful, the exit code from gnetlist is checked, and
anything but a non-zero exit will be flagged as an error, and standard error
from gnetlist will be forwarded to the terminal. Notice that gnetlist may have
a successful exit code, even when errors are encountered, see bug lp-700448.

Affects-bug: lp-806686
utils/src/gsch2pcb.c