From 7c4772cacff3b16eaeeb8c7895fb14eb1c9c7f91 Mon Sep 17 00:00:00 2001 From: Fabian Dill Date: Sun, 30 Aug 2020 03:18:10 +0200 Subject: [PATCH] Quote mystery files to prevent cmd arg mashing --- MultiMystery.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MultiMystery.py b/MultiMystery.py index fc1a7167..e51ba534 100644 --- a/MultiMystery.py +++ b/MultiMystery.py @@ -83,7 +83,7 @@ if __name__ == "__main__": player_string = "" for i, file in enumerate(player_files, 1): - player_string += f"--p{i} {os.path.join(player_files_path, file)} " + player_string += f"--p{i} \"{os.path.join(player_files_path, file)}\" " if os.path.exists("BerserkerMultiServer.exe"):