File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -689,8 +689,8 @@ def on_run_application(self, event):
689689 "source /workspace/code/install/setup.bash && ros2 run academy academyCode"
690690 ],
691691 stdin = open ("/dev/pts/" + console_fd , "r" ),
692- stdout = sys . stdout ,
693- stderr = subprocess . STDOUT ,
692+ stdout = open ( "/dev/pts/" + console_fd , "w" ) ,
693+ stderr = open ( "/dev/pts/" + console_fd , "w" ) ,
694694 bufsize = 1024 ,
695695 universal_newlines = True ,
696696 shell = True ,
@@ -717,8 +717,8 @@ def on_run_application(self, event):
717717 self .application_process = subprocess .Popen (
718718 ["python3" , entrypoint ],
719719 stdin = open ("/dev/pts/" + console_fd , "r" ),
720- stdout = sys . stdout ,
721- stderr = subprocess . STDOUT ,
720+ stdout = open ( "/dev/pts/" + console_fd , "w" ) ,
721+ stderr = open ( "/dev/pts/" + console_fd , "w" ) ,
722722 bufsize = 1024 ,
723723 universal_newlines = True ,
724724 )
You can’t perform that action at this time.
0 commit comments