[qmtest] RemoteShellTarget on Windows

Mark Mitchell mark at codesourcery.com
Wed Jun 23 06:58:38 UTC 2004


J C wrote:

>Hi,
>
>From what I understand the RemoteShellTarget class is
>not supported on Windows because its base class is
>ProcessTarget, which "is not available on Windows" as
>stated in the documentation.
>
>  
>
Correct.

>1. Is there a simple way to do the equivalent of
>RemoteShellTarget on Windows? (e.g. creating a
>RemoteWinShellTarget class that inherits from
>ThreadTarget as opposed to ProcessTarget)
>  
>
Perhaps -- I'm not sure exactly what Windows provides for remote process 
execution, if anything.  In theory, the existing code would work on 
Windows if you have a working "rsh"; you might be able to use something 
from MinGW or Cygwin for that.  There might be a few changes required to 
process_target.py to remove UNIX assumptions, but they're don't look to 
be too many.  The bits where the pipes are set up look like the only 
obvious UNIXy bits to me.

Yours,

-- 
Mark Mitchell
CodeSourcery, LLC
(916) 791-8304
mark at codesourcery.com




More information about the qmtest mailing list