Main now prints the exit code of the program, as Haskell likes to hide segfaults.
This commit is contained in:
parent
b3525db7fd
commit
9b38c6d804
1 changed files with 1 additions and 1 deletions
|
|
@ -135,7 +135,7 @@ main' opts s = do
|
|||
compile generatedCode
|
||||
printToErr "Compilation done!"
|
||||
printToErr "\n-- Program output --"
|
||||
spawnWait "./output/hello_world"
|
||||
print =<< spawnWait "./output/hello_world"
|
||||
|
||||
exitSuccess
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue