I'm not sure what powershell is, but this might help identifying is that zero or whatever comes from the subprocess and handling it as you wish: {{{ Ret = subprocess.Popen([powershellpath, argslist], stdout=subprocess.PIPE, stderr=subprocess.PIPE) Status = Ret.communicate() stdout = Ret.stdout.read() stderr = Ret.stderr.read() print("stdout:\n%s" % stdout) print("std err:\n%s" % stderr) }}}
> Any ideas anyone ? > _______________________________________________ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers