On 20 November 2012 12:31, Alexandre Julliard <span dir="ltr"><<a href="mailto:julliard@winehq.org" target="_blank">julliard@winehq.org</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5"><br>
</div></div>That doesn't guarantee that it's the process console, console handles<br>
can be passed across processes.<br><span class="HOEnZb"><font color="#888888"><br></font></span></blockquote><div><br></div><div>So apologies if this is an ignorant question, I dont really understand this console logic properly so I was researching the options. MSDN help for DuplicateHandle (<a href="http://msdn.microsoft.com/en-gb/library/windows/desktop/ms724251(v=vs.85).aspx">http://msdn.microsoft.com/en-gb/library/windows/desktop/ms724251(v=vs.85).aspx</a>) states console handles cannot be duplicated for use in other processes, is there another context that I am missing?</div>
<div><br></div><div>Any hints/suggestions on the best way to solve this problem - Ideally we would want to duplicate the handle extending to add write access, since the original device was opened read only, but I am not aware of a clean way to do this.</div>
<div><br></div><div>Jason</div></div><br>