Quote mystery files to prevent cmd arg mashing
This commit is contained in:
parent
1103d77ca5
commit
7c4772cacf
|
@ -83,7 +83,7 @@ if __name__ == "__main__":
|
||||||
|
|
||||||
player_string = ""
|
player_string = ""
|
||||||
for i, file in enumerate(player_files, 1):
|
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"):
|
if os.path.exists("BerserkerMultiServer.exe"):
|
||||||
|
|
Loading…
Reference in New Issue