Microsoft/TypeScript — pull request #246 by robertknight (2014-07-25 10:55:38+00:00)
Title: Set the exit status for the process correctly when compilation fails

Use the result of ts.executeCommandLine() as the node process' exit
status.

Can you point me at the right place to add a test for this?

Fixes #245