Show More
@@ -114,7 +114,7 b' def xsys(self, cmd):' | |||||
114 | """ |
|
114 | """ | |
115 | # We use getoutput, but we need to strip it because pexpect captures |
|
115 | # We use getoutput, but we need to strip it because pexpect captures | |
116 | # the trailing newline differently from commands.getoutput |
|
116 | # the trailing newline differently from commands.getoutput | |
117 | print(self.getoutput(cmd).rstrip(), end='', file=sys.stdout) |
|
117 | print(self.getoutput(cmd, split=False).rstrip(), end='', file=sys.stdout) | |
118 | sys.stdout.flush() |
|
118 | sys.stdout.flush() | |
119 |
|
119 | |||
120 |
|
120 |
General Comments 0
You need to be logged in to leave comments.
Login now