Skip to content

Commit 583b1e5

Browse files
committed
Get error code
1 parent a8d7187 commit 583b1e5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

manager/manager/manager.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -693,7 +693,7 @@ def find_docker_console():
693693

694694
compile_process = subprocess.Popen(
695695
[
696-
"cd /workspace/code; source /opt/ros/humble/setup.bash; colcon build; source install/setup.bash; cd ../.."
696+
"cd /workspace/code && source /opt/ros/humble/setup.bash && colcon build && source install/setup.bash && cd ../.."
697697
],
698698
stdin=open("/dev/pts/" + console_fd, "r"),
699699
stdout=open("/dev/pts/" + console_fd, "w"),
@@ -703,7 +703,6 @@ def find_docker_console():
703703
shell=True,
704704
executable="/bin/bash",
705705
)
706-
#FIX: does not work. Always returns 0
707706
returncode = compile_process.wait()
708707
print(returncode)
709708
if returncode != 0:

0 commit comments

Comments
 (0)