Skip to content

Commit d360a0b

Browse files
authored
Fix launching server within paths with spaces (#25)
1 parent b0fae3d commit d360a0b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

rlbot/utils/gateway.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def launch(
7272
)
7373

7474
port = find_open_server_port()
75-
args = str(path) + " " + str(port)
75+
args = [str(path), str(port)]
7676
DEFAULT_LOGGER.info("Launching RLBotServer with via %s", args)
7777

7878
return subprocess.Popen(args, shell=True, cwd=directory), port

rlbot/version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "2.0.0-beta.40"
1+
__version__ = "2.0.0-beta.41"

0 commit comments

Comments
 (0)