diff --git a/IPython/testing/globalipapp.py b/IPython/testing/globalipapp.py
index 35cad38..7c0f202 100644
--- a/IPython/testing/globalipapp.py
+++ b/IPython/testing/globalipapp.py
@@ -114,7 +114,7 @@ def xsys(self, cmd):
     """
     # We use getoutput, but we need to strip it because pexpect captures
     # the trailing newline differently from commands.getoutput
-    print(self.getoutput(cmd).rstrip(), end='', file=sys.stdout)
+    print(self.getoutput(cmd, split=False).rstrip(), end='', file=sys.stdout)
     sys.stdout.flush()