[X2Go-Commits] python-x2go.git - build-baikal (branch) updated: 0.0.39.0-85-gade6b69
X2Go dev team
git-admin at x2go.org
Wed Jan 8 15:28:12 CET 2014
The branch, build-baikal has been updated
via ade6b69dcd4e46f4ca048b3a768ab08594d082c9 (commit)
from 3775aefcf5b518833daddd9b90e655252691f030 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
-----------------------------------------------------------------------
Summary of changes:
x2go/pulseaudio.py | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
The diff of changes is:
diff --git a/x2go/pulseaudio.py b/x2go/pulseaudio.py
index ecb2f09..f80deb9 100644
--- a/x2go/pulseaudio.py
+++ b/x2go/pulseaudio.py
@@ -27,6 +27,7 @@ if _X2GOCLIENT_OS == 'Windows':
import wmi
import win32api
import win32file
+ import win32security
import win32process
import win32event
@@ -84,9 +85,13 @@ class X2goPulseAudio(threading.Thread):
]
cmd_options = " %s" % " ".join(cmd_options)
self.logger('starting PulseAudio server with command line: %s%s' % (cmd, cmd_options), loglevel=log.loglevel_DEBUG)
- si = win32process.STARTUPINFO()
+
+ sa = win32security.SECURITY_ATTRIBUTES()
+ sa.bInheritHandle = 1
_stdout_fh = win32file.CreateFile(os.path.join(os.environ['TEMP'], "pyhoca-gui_pulseaudio_stdout.log"), win32file.GENERIC_WRITE, 0, sa, win32file.OPEN_EXISTING, win32file.FILE_FLAG_SEQUENTIAL_SCAN|win32file.FILE_FLAG_OVERLAPPED , 0)
_stderr_fh = win32file.CreateFile(os.path.join(os.environ['TEMP'], "pyhoca-gui_pulseaudio_stderr.log"), win32file.GENERIC_WRITE, 0, sa, win32file.OPEN_EXISTING, win32file.FILE_FLAG_SEQUENTIAL_SCAN|win32file.FILE_FLAG_OVERLAPPED , 0)
+
+ si = win32process.STARTUPINFO()
si.hStdOutput = _stdout_fh
si.hStdError = _stderr_fh
si.jStdInput = win32api.GetStdHandle(win32api.STD_INPUT_HANDLE)
hooks/post-receive
--
python-x2go.git (Python X2Go Client API)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "python-x2go.git" (Python X2Go Client API).
More information about the x2go-commits
mailing list