[#701] | project: compiler | priority: low | category: bug | |
---|---|---|---|---|
submitter | assigned to | status | date submitted | |
Nikolay | Lex | fixed | 2006-08-14 14:56:57.0 | |
subject | [contrib #171] fsc doesn't return exit status | |||
code |
n/a |
|||
what happened | The fsc command always terminates successfully, even if compilation fails or the server is not available. |
|||
what expected | fsc should return a non-zero exit code if the compile fails, as specified in the man page. | |||
[back to overview] |
Nikolay edited on 2006-08-14 14:57:50.0 |
Transferred from bug contribution #171 |
Lex edited on 2006-09-21 17:09:15.0 |
It reports an error now.
The implementation is not ideal -- it uses a regular expression to detect compiler outpust that look like errors -- but it is pretty good. Ideally, the remote compiler would pass back more information than just the compiler output, but that would require complications in the network protocol -- a protocol that is currently delightfully simple. |