From 511d01f262c8698f07afdbea51957627c2e8871f Mon Sep 17 00:00:00 2001 From: Darrel Pol Date: Wed, 11 Sep 2024 20:51:31 -0500 Subject: [PATCH] adding output log --- .github/workflows/on_merge_to_master.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/on_merge_to_master.yaml b/.github/workflows/on_merge_to_master.yaml index 72df2a30f..d9a5a7ee2 100644 --- a/.github/workflows/on_merge_to_master.yaml +++ b/.github/workflows/on_merge_to_master.yaml @@ -55,7 +55,9 @@ jobs: # Return to the main project directory cd .. - # Run the application - nohup python launch.py --listen --api & + # Run the application in the background using nohup + nohup python launch.py --listen --api > launch_output.log 2>&1 & + + # Detach from the SSH session to prevent hanging exit EOF