<div dir="ltr">Hi all,<div><br></div><div>I'm trying to get the test suite running against a Linux x86_64->Linux <span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important;background-color:rgb(255,255,255)">x86_64 </span>remote target.  I'm getting a failure when process launch is called with stdout redirected to a file.</div><div><br></div><div>The host is sending QSetSTDOUT to the remote host with a path that is only valid on the host.</div><div><br></div><div>For stdout/stderr there are a couple of ways to approach this problem.</div><div><br></div><div>1) Let the inferior write to a temporary file on the remote host and then retrieve after the process exits?  I don't like this because I think it's really useful to see the debug output from the file during debugging.</div><div><br></div><div>2) Hand the inferior a pipe for each redirected stdout/stderr, transfer the bytes written to the host and then write them on the host to the specified file.  What messages do I use for this?  It should be independent of $O.  I don't want to use the $F messages because they're slightly different (and a lot of work).</div><div><br></div><div>3) ???</div><div><br></div><div>For stdin, I think I will just copy to file over to the target and open it on the inferior.</div><div><br></div><div>Thoughts?</div><div><br></div><div>Vince</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><br><table cellspacing="0" cellpadding="0" style="font-family:'Times New Roman'"><tbody><tr style="color:rgb(85,85,85);font-family:sans-serif;font-size:small"><td nowrap style="border-top-style:solid;border-top-color:rgb(213,15,37);border-top-width:2px">Vince Harron |</td><td nowrap style="border-top-style:solid;border-top-color:rgb(51,105,232);border-top-width:2px"> Technical Lead Manager |</td><td nowrap style="border-top-style:solid;border-top-color:rgb(0,153,57);border-top-width:2px"> <a href="mailto:vharron@google.com" target="_blank">vharron@google.com</a> |</td><td nowrap style="border-top-style:solid;border-top-color:rgb(238,178,17);border-top-width:2px"> 858-442-0868</td></tr></tbody></table><br></div></div>
</div></div>