[WINDOWS] Subprocess issue
#1
Hello !

i've a problem with the subprocess function.
I try to open a child process under windows with the subprocess function (there is no fork() on windows) like this :

Code:
ping = subprocess.Popen(["ping", "192.168.0.253"], stdout=subprocess.PIPE)
out = ping.stdout.read()

print out

But i haven't any line and no function is working after calling the subprocess function (under linux my code works with fork() and subprocess() )
Have you an idea ? Maybe using thread under windows ?

Thanks.
Reply

Logout Mark Read Team Forum Stats Members Help
[WINDOWS] Subprocess issue0