<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr">On Thu, Nov 29, 2018, 20:51 Johannes Waldmann <<a href="mailto:johannes.waldmann@htwk-leipzig.de">johannes.waldmann@htwk-leipzig.de</a> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 11/29/18 7:48 PM, Brandon Allbery wrote:<br>
<br>
> main thread exiting will kill the entire process,<br>
<br>
The main thread does "forever $ something".<br>
<br>
The process does not exit (I am not getting<br>
the console prompt). I observe that the process<br>
either prints and then hangs, or it hangs immediately.<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">Printing to the console still isn't a great test to see if something has "run", because of buffering that seems to behave unintuitively in these situations. Maybe try flushing stdout within the forked thread, to ensure the runtime is doing what you think it's doing?</div></div>