Skip to content

Commit

Permalink
windows test try 9
Browse files Browse the repository at this point in the history
  • Loading branch information
nolanl committed Dec 12, 2019
1 parent 3aad1bf commit 921e702
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions boundery/osal/osal_windows.py
Expand Up @@ -40,9 +40,9 @@ class NPWrapper:
def __init__(self, pipe): def __init__(self, pipe):
win32pipe.ConnectNamedPipe(pipe, None) win32pipe.ConnectNamedPipe(pipe, None)
self._pipe = pipe self._pipe = pipe
self.stdin = open(msvcrt.open_osfhandle(pipe, os.O_WRONLY), 'w') self.stdin = open(msvcrt.open_osfhandle(int(pipe), os.O_WRONLY), 'w')
self.stdout = open(msvcrt.open_osfhandle(pipe, os.O_RDONLY), 'r') self.stdout = open(msvcrt.open_osfhandle(int(pipe), os.O_RDONLY), 'r')
self.stderr = open(msvcrt.open_osfhandle(pipe, os.O_RDONLY), 'r') self.stderr = open(msvcrt.open_osfhandle(int(pipe), os.O_RDONLY), 'r')


def wait(self, timeout = -1): def wait(self, timeout = -1):
#XXX Need to actually wait here? #XXX Need to actually wait here?
Expand Down

0 comments on commit 921e702

Please sign in to comment.