We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bc620e4 + 3023207 commit 9525c63Copy full SHA for 9525c63
1 file changed
src/commands/run/RunScript.cpp
@@ -680,6 +680,17 @@ namespace vix::commands::RunCommand::detail
680
runtimeLog += err;
681
}
682
683
+ const bool interruptedBySigint =
684
+ is_sigint_exit_code(runCode) ||
685
+ (rr.terminatedBySignal && rr.termSignal == SIGINT) ||
686
+ log_looks_like_interrupt(runtimeLog);
687
+
688
+ if (interruptedBySigint)
689
+ {
690
+ hint("ℹ Server interrupted by user (SIGINT).");
691
+ return 0;
692
+ }
693
694
const bool looksSanOrUb =
695
!runtimeLog.empty() && log_looks_like_sanitizer_or_ub(runtimeLog);
696
0 commit comments