From f2591af2afb715296a94c3a3c7e06d7fbd6da883 Mon Sep 17 00:00:00 2001 From: Karl Rister Date: Fri, 21 Apr 2023 08:43:21 -0500 Subject: [PATCH] add --tty to the rickshaw-run pod command - this allows a SIGINT generated by typing CTRL-C to be delivered to rickshaw-run - if --tty is added to ${container_rs_args[@]} it breaks result summary generation so only do it here --- bin/_main | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/_main b/bin/_main index 217e4c0..2f5bbd5 100755 --- a/bin/_main +++ b/bin/_main @@ -361,7 +361,7 @@ elif [ "${1}" == "run" ]; then --base-run-dir=$base_run_dir\ ${passthru_args[@]}" - $podman_run --name crucible-rickshaw-run-${SESSION_ID} "${container_common_args[@]}" "${container_rs_args[@]}" "${container_build_args[@]}" $CRUCIBLE_CONTAINER_IMAGE $rs_run_cmd + $podman_run --name crucible-rickshaw-run-${SESSION_ID} --tty "${container_common_args[@]}" "${container_rs_args[@]}" "${container_build_args[@]}" $CRUCIBLE_CONTAINER_IMAGE $rs_run_cmd RC=$? if [ ${RC} == 0 ]; then