Ticket #32 (new enhancement)

Opened 6 years ago

Last modified 5 years ago

Don't panic if user Control-C's GCC

Reported by: benl Owned by:
Priority: minor Milestone:
Component: Compilation Driver Version:
Keywords: Cc:

Description

Is there a way to detect that gcc has died this way vs by a compile error?

Change History

Changed 5 years ago by Tac-Tics

You should be able to check the exit value of the process.

Just experimenting on my box here, CTRL-C'ed GCC process returns an exit code of "130". A failed compilation returns "1". An a successful compilation is, of course, "0".

Note: See TracTickets for help on using tickets.