[X2Go-Commits] python-x2go.git - release/0.4.0.x (branch) updated: 0.0.36.1-4-g892d3bd
X2Go dev team
git-admin at x2go.org
Tue Jan 7 16:16:33 CET 2014
The branch, release/0.4.0.x has been updated
via 892d3bda059ed5961a297ddbd8d13cd8dd077f4a (commit)
from 4f732eee6fb69410e3b42f865669e5a8ea0f1f45 (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 | 24 ++++++++++++------------
1 file changed, 12 insertions(+), 12 deletions(-)
The diff of changes is:
diff --git a/x2go/pulseaudio.py b/x2go/pulseaudio.py
index 611b838..34d491b 100644
--- a/x2go/pulseaudio.py
+++ b/x2go/pulseaudio.py
@@ -87,12 +87,12 @@ class X2goPulseAudio(threading.Thread):
if _X2GOCLIENT_OS == 'Windows':
_stdin = file('nul', 'r')
_shell = True
- p = subprocess.call(cmd_line,
- stdin=_stdin,
- stdout=subprocess.PIPE,
- stderr=subprocess.STDOUT,
- shell=_shell,
- )
+ p = subprocess.Popen(cmd_line,
+ stdin=_stdin,
+ stdout=subprocess.PIPE,
+ stderr=subprocess.STDOUT,
+ shell=_shell,
+ )
gevent.sleep(5)
_is_alive = p and (p.poll() is None)
if self.client_instance and not _is_alive:
@@ -108,12 +108,12 @@ class X2goPulseAudio(threading.Thread):
self.client_instance.HOOK_pulseaudio_server_died()
self.logger('terminating running PulseAudio server', loglevel=log.loglevel_DEBUG)
- p = subprocess.call(['pulseaudio', '-k', ],
- stdin=_stdin,
- stdout=subprocess.PIPE,
- stderr=subprocess.STDOUT,
- shell=_shell,
- )
+ p = subprocess.Popen(['pulseaudio', '-k', ],
+ stdin=_stdin,
+ stdout=subprocess.PIPE,
+ stderr=subprocess.STDOUT,
+ shell=_shell,
+ )
def stop_thread(self):
"""\
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