diff --git a/scripts/run_command b/scripts/run_command index 9615adc93f8c91874f3ce274d5830dde06f3fb81..bb3bf54452aa10e835b0a972b38a03dae571d497 100755 --- a/scripts/run_command +++ b/scripts/run_command @@ -37,10 +37,10 @@ class RosShell(InteractiveConsole): self.cache = source return self.runcode(code, False) response = self.client(str(source)) - if response.stdout != "": - print response.stdout[:-1] - if response.stderr != "": - print response.stderr[:-1] + if response.standardoutput != "": + print response.standardoutput[:-1] + if response.standarderror != "": + print response.standarderror[:-1] elif response.result != "None": print response.result except rospy.ServiceException, e: