[qmtest] RemoteShellTarget on Windows
J C
tellic3kc at yahoo.com
Thu Jun 24 19:28:34 UTC 2004
>From what I understand of the, the classes
TimeoutExecutable and RedirectedExecutable in
executable.py are not used anywhere. Are they complete
and usable?
Assuming that they are usable, could you outline what
exactly would need to be done to use a subclass of
RedirectedExecutable to allow ProcessTarget to work on
Windows.
Would the solution involve something like the
following:
class QMTestExecutable(RedirectedExecutable):
def _InitializeParent(self):
super(QMTestExecutable, self).InitializeParent
self.command_pipe = self._stdout_pipe
self.response_pipe = self._stdin_pipe
def _InitializeChild(self):
super(...).InitializeChild()
What else would need to be changed for should this
work?
I am currently trying to get RSHTarget to work on
Windows using the remote shell program rshsvc.exe
provided by Microsoft.
Thanks,
Nick
Nathaniel Smith wrote:
>On Tue, Jun 22, 2004 at 11:58:38PM -0700, Mark
>Mitchell wrote:
>> 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.
>Probably this should just be changed to use a
>subclass of
>RedirectedExecutable, if someone wanted to make that
>change... though
>looks like this might be easier if
>RedirectedExecutable were
>refactored a bit, it could be more convenient to
>subclass.
>-- Nathaniel
__________________________________
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
http://promotions.yahoo.com/new_mail
More information about the qmtest
mailing list