Opened 11 years ago

Closed 7 years ago

#32 closed enhancement (fixed)

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

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


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

Change History (4)

comment:1 Changed 10 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".

comment:2 Changed 8 years ago by benl

  • Priority changed from minor to normal

comment:3 Changed 7 years ago by benl

  • Milestone set to 0.3.0

comment:4 Changed 7 years ago by benl

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.