From 0370a9ed0f92f0c4a2f399304baf29494f9f5ce8 Mon Sep 17 00:00:00 2001 From: Alex Date: Mon, 15 Jul 2024 12:20:18 +0200 Subject: [PATCH] fix fstring --- start_server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/start_server.py b/start_server.py index 40de8c6..1d3a070 100644 --- a/start_server.py +++ b/start_server.py @@ -32,7 +32,7 @@ def main(): JAVA_EXECUTABLE = os.path.join(args.java_path, 'java.exe') # Start the Java application in the background with a unique identifier - process = subprocess.Popen([JAVA_EXECUTABLE, '-Dapp.id=' + UNIQUE_IDENTIFIER, '-Xmx1024M', '-Xms1024M', '-jar', JAVA_APP_PATH, '--nogui', '--bonusChest'], + process = subprocess.Popen([f'{JAVA_EXECUTABLE}', '-Dapp.id=' + UNIQUE_IDENTIFIER, '-Xmx1024M', '-Xms1024M', '-jar', JAVA_APP_PATH, '--nogui', '--bonusChest'], stdout=subprocess.DEVNULL, stderr=subprocess.STDOUT) # Save the PID of the Java application