<div>Hey Jan,</div><br><div>So I'm confused about how sish is supposed to behave with background processes. Are we simply putting it in the background and allowing it to run to completion, with no chance of returning it to foreground? Are we supposed to be able to handle 'fg' functionality like in bash/sh/zsh/etc.?</div><br><div>Currently it appears that we're supposed to handle the former, essentially forking the child and, if '&amp;' is appended to command, to not wait for a return before prompting for new input, otherwise waiting on the child to return.</div><br><div>How would you suggest handling SIGCHLD in this case? If we background a process and don't setup a SIGCHLD handler, then the exited child will be a zombie, but if we set a sigchld handler of SIG_IGN, will that interfere with wait(2) for other processes?</div><br><div>Thanks,</div><br><div><signature id="local-5443727c-3081"><table cellpadding="0" cellspacing="0"><tbody><tr><td style="vertical-align:top"><img alt="" src="https://user-generated.getmailspring.com/asset/NmY5Mjg2ODgtZWMyNy00YjMzLWFmNGItYTlmMDQ1OTAxNzZlL3NpZy1sb2NhbC01NDQzNzI3Yy0zMDgxLnBuZw.png?t=1571062885269&amp;msw=246&amp;msh=249" width="59" height="60" style="max-width:60px;max-height:60px;margin-right:10px"></td><td><div>Elliot Wasem</div><div style="font-size:0.9em;border-top:1px solid gray;min-width:250px;max-width:300px;margin-top:4px;padding-top:4px"><div><div></div><div><a href="https://elliotwasem.xyz">https://elliotwasem.xyz</a></div><div><a href="http://linkedin.com/in/elliot-wasem" title="LinkedIn" style="margin-right:8px"><img src="https://www.getmailspring.com/signature-assets/linkedin.gif" width="13" height="13" alt="LinkedIn"></a></div></div></div></td></tr></tbody></table></signature></div>