<div dir="ltr">Yes, but closing the handle is semantically a different operation than reaping a process. You can close a handle to a process while the process is still running and it doesn't affect anything except that it frees up space in your process's handle table. You can also not close a handle, and if the process exits nothing bad will come of it. So closing the handle is more tied to the lifetime of the instantiated HostProcess , and independent of the actual process running on ths system.</div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Sep 21, 2014 at 11:40 PM, Matthew Gardiner <span dir="ltr"><<a href="mailto:mg11@csr.com" target="_blank">mg11@csr.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Wed, 2014-09-17 at 00:27 -0700, Zachary Turner wrote:<br>
<br>
> I know Join isn't really the right word, but there's no concept of<br>
> reaping a process on Windows.<br>
<br>
</span>However, on Windows, isn't there still a requirement to CloseHandle that<br>
handles returned by CreateProcess?<br>
<br>
Matt<br>
<br>
<br>
<br>
<br>
<br>
Member of the CSR plc group of companies. CSR plc registered in England and Wales, registered number 4187346, registered office Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, United Kingdom<br>
More information can be found at <a href="http://www.csr.com" target="_blank">www.csr.com</a>. Keep up to date with CSR on our technical blog, <a href="http://www.csr.com/blog" target="_blank">www.csr.com/blog</a>, CSR people blog, <a href="http://www.csr.com/people" target="_blank">www.csr.com/people</a>, YouTube, <a href="http://www.youtube.com/user/CSRplc" target="_blank">www.youtube.com/user/CSRplc</a>, Facebook, <a href="http://www.facebook.com/pages/CSR/191038434253534" target="_blank">www.facebook.com/pages/CSR/191038434253534</a>, or follow us on Twitter at <a href="http://www.twitter.com/CSR_plc" target="_blank">www.twitter.com/CSR_plc</a>.<br>
New for 2014, you can now access the wide range of products powered by aptX at <a href="http://www.aptx.com" target="_blank">www.aptx.com</a>.<br>
</blockquote></div><br></div>