Fix exit call to use _exit instead which is safer for a chile process. (#882)
Fix exit call to use _exit instead which is safer for a chile process. (#882)

In the child branch of a fork(), it is normally incorrect to use
exit(), because that can lead to stdio buffers being flushed
twice, and temporary files being unexpectedly removed.
malthe/ponyc,Praetonus/ponyc,Perelandric/ponyc,boemmels/ponyc,mkfifo/ponyc,jemc/ponyc,ryanai3/ponyc,jupvfranco/ponyc,ryanai3/ponyc,sgebbie/ponyc,Perelandric/ponyc,dipinhora/ponyc,sgebbie/ponyc,Praetonus/ponyc,jupvfranco/ponyc,jemc/ponyc,Praetonus/ponyc,lukecheeseman/ponyta,jupvfranco/ponyc,dipinhora/ponyc,mkfifo/ponyc,ponylang/ponyc,Perelandric/ponyc,cquinn/ponyc,kulibali/ponyc,jupvfranco/ponyc,boemmels/ponyc,ponylang/ponyc,malthe/ponyc,Theodus/ponyc,jupvfranco/ponyc,malthe/ponyc,boemmels/ponyc,mkfifo/ponyc,cquinn/ponyc,Theodus/ponyc,mkfifo/ponyc,sgebbie/ponyc,ponylang/ponyc,malthe/ponyc,boemmels/ponyc,jemc/ponyc,lukecheeseman/ponyta,Theodus/ponyc,Praetonus/ponyc,sgebbie/ponyc,boemmels/ponyc,CausalityLtd/ponyc,mkfifo/ponyc,kulibali/ponyc,kulibali/ponyc,Perelandric/ponyc,kulibali/ponyc,Perelandric/ponyc,ryanai3/ponyc,cquinn/ponyc,Theodus/ponyc,CausalityLtd/ponyc,Theodus/ponyc,cquinn/ponyc,CausalityLtd/ponyc,sgebbie/ponyc,lukecheeseman/ponyta,dipinhora/ponyc