From f3abda5c011ad9d740a51eafa6b266f20017875d Mon Sep 17 00:00:00 2001 From: Max Melchert <maximilian.melchert@stud.hs-bochum.de> Date: Tue, 11 Mar 2025 12:08:14 +0100 Subject: [PATCH] fix: allow console input/output at runtime --- src/makefile/makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/makefile/makefile b/src/makefile/makefile index 9c61df6..9043499 100644 --- a/src/makefile/makefile +++ b/src/makefile/makefile @@ -47,7 +47,12 @@ upload: # upload project files from client to server $(RSYNC) $(LOCAL_PROJECT_DIR)/ $(LOGIN):$(REMOTE_PROJECT_DIR) run: # execute main script on server - $(SSH) 'cd $(REMOTE_PROJECT_DIR) && $(CONDA) run -n $(CONDA_ENV) python $(MAIN_SCRIPT)' + $(SSH) '\ + cd $(REMOTE_PROJECT_DIR);\ + $(CONDA) activate $(CONDA_ENV);\ + python $(MAIN_SCRIPT);\ + $(CONDA) deactivate;\ + ' kill: # terminate the running script on the server $(SSH) 'pkill -f $(MAIN_SCRIPT)' -- GitLab