Skip to content

Commit 108ad50

Browse files
committed
Update test_execute_process.py
Signed-off-by: Darko Lukic <[email protected]>
1 parent 8d38cbf commit 108ad50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

launch/test/launch/test_execute_process.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ def generate_launch_description():
152152
return LaunchDescription([
153153

154154
ExecuteProcess(
155-
cmd=[sys.executable, '-c', "print('action'); false"],
155+
cmd=[sys.executable, '-c', "import sys; print('action'); sys.exit(1)"],
156156
respawn=True, respawn_delay=respawn_delay, on_exit=on_exit_callback
157157
),
158158

0 commit comments

Comments
 (0)