oakes / SolidOak

An IDE for Rust
https://sekao.net/solidoak/
The Unlicense
893 stars 60 forks source link

Handle negative return from fork() #56

Closed beatgammit closed 8 years ago

beatgammit commented 8 years ago

A negative return from fork() indicates an error forking, in which case no child process is created. If this happens, crash hard.

This is a very unlikely edge case, but I've had cases where fork fails because of ulimit rules and whatnot, so may as well handle this case.

oakes commented 8 years ago

Thanks! Sorry for the delay; I've been distracted lately.