cornell-brg / pydgin

A (Py)thon (D)SL for (G)enerating (In)struction set simulators.
BSD 3-Clause "New" or "Revised" License
165 stars 29 forks source link

Exit with correct code. #36

Closed snim2 closed 8 years ago

snim2 commented 8 years ago

Although entry_point returns an integer that represents a return code, that return code never reached the OS. This PR fixes that by passing the result of exit_code to sys.exit().

Tested on futurecore/revelation.

berkinilbeyi commented 8 years ago

Hmm good idea!