From 768350e6ab2ff87e1746070da8f5f7014df6ca01 Mon Sep 17 00:00:00 2001 From: yage Date: Thu, 19 Oct 2023 20:04:25 -0600 Subject: [PATCH] v3.6.5 ===================================================================== --- Bug fixes ---------------------------- - Some exit error cases were not handled properly by the default eval string due to early exit failing within the primary subshell of the scwrypt; moving the runstring one subshell deeper allows the capture of exit cases --- run | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run b/run index e4845cd..b9b11ca 100755 --- a/run +++ b/run @@ -275,7 +275,7 @@ __RUN() { { [ $HEADER ] && echo $HEADER echo '\033[1;33m--- BEGIN OUTPUT -------------------------\033[0m' - eval "$RUN_STRING $(printf "%q " "$@")" + (eval "$RUN_STRING $(printf "%q " "$@")") EXIT_CODE=$? echo '\033[1;33m--- END OUTPUT ---------------------------\033[0m'