Don't run code between fork and exec in a multi threaded program, I agree it's sad but it's also a complex problemhttps://twitter.com/weaveworks/status/869693489801555972 …
POSIX has some fun rules for how this interacts with stdio FILE streams vs file descriptors: http://pubs.opengroup.org/onlinepubs/9699919799/functions/V2_chap02.html#tag_15_05_01 …
-
-
This is a perpetual source of "why did printf print the output twice?" type questions on SO (answer: UB).
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.