From 313844e7a70c4e2b66ed93f703e2d347870bdc6a Mon Sep 17 00:00:00 2001 From: HlmsDeep Date: Tue, 18 Mar 2025 15:54:50 +0000 Subject: [PATCH] now --- cpp.sh | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/cpp.sh b/cpp.sh index c5387ab..bf5acf9 100644 --- a/cpp.sh +++ b/cpp.sh @@ -22,16 +22,6 @@ if [ $? -ne 0 ]; then cat compile_error.txt exit 1 fi -# Run the compiled program and capture runtime errors -./output_program > output.txt 2> runtime_error.txt - -# Check if there were any runtime errors -if [ $? -ne 0 ]; then - echo -e "Runtime error!\n" - cat runtime_error.txt - exit 1 - -fi # start if [ -f "/usr/src/app/cpp-engine/app/input.txt" ]; then # Run the compiled program with input redirection