From 3138b9f51c24264c13b2495bc6c5f2c0b3ccd4e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Sat, 26 Mar 2022 20:26:34 +0100 Subject: [PATCH] changed some stuff in start.sh --- start.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/start.sh b/start.sh index d528dfc..f9f66d5 100644 --- a/start.sh +++ b/start.sh @@ -1,4 +1,7 @@ #!bin/bash -e SCRIPT_DIR="$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )" -screen -m -d -S rackled bash -c "cd $SCRIPT_DIR && python3 ./main.py" \ No newline at end of file +screen -m -d rackled +sleep 5 +screen -S rackled -X stuff "cd $SCRIPT_DIR" +screen -S rackled -X stuff "python3 main.py\n" \ No newline at end of file