[X2go-Commits] python-x2go.git - master (branch) updated:

X2Go dev team git-admin at x2go.org
Wed Jul 25 22:23:52 CEST 2012

The branch, master has been updated
       via  588ba614baf0ba689a9ec6870284bcd02b4469ae (commit)
      from  288950f6d62d9b56d0af5637d532836acba82740 (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 -----------------------------------------------------------------
commit 588ba614baf0ba689a9ec6870284bcd02b4469ae
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Wed Jul 25 22:23:46 2012 +0200

    Become fully functional for users that have SHELLs than sh or bash on remote X2Go server.


Summary of changes:
 debian/changelog                 |    4 +++-
 x2go/backends/control/_stdout.py |    2 ++
 2 files changed, 5 insertions(+), 1 deletions(-)

The diff of changes is:
diff --git a/debian/changelog b/debian/changelog
index 33e441e..917408a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,8 @@
 python-x2go ( UNRELEASED; urgency=low
-  * Continue development...
+  * New upstream version (
+    - Become fully functional for users that have SHELLs than sh or bash
+      on remote X2Go server.
  -- Mike Gabriel <mike.gabriel at das-netzwerkteam.de>  Mon, 23 Jul 2012 21:20:28 +0200
diff --git a/x2go/backends/control/_stdout.py b/x2go/backends/control/_stdout.py
index d0441ac..108d6ef 100644
--- a/x2go/backends/control/_stdout.py
+++ b/x2go/backends/control/_stdout.py
@@ -368,6 +368,8 @@ class X2goControlSessionSTDOUT(paramiko.SSHClient):
             cmd = cmd_line
+        cmd = 'sh -c \"%s\"' % cmd
         if self.session_died:
             self.logger("control session seams to be dead, not executing command ,,%s'' on X2Go server %s" % (_rerewrite_blanks(cmd), self.profile_name,), loglevel=loglevel)
             return (cStringIO.StringIO(), cStringIO.StringIO(), cStringIO.StringIO('failed to execute command'))

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