fix missing str() on pid
@@ -59,7 +59,7 @@ def launch_minecraft_in_background(minecraft_path, ports=None, timeout=360, repl
# (Launching a process to run the terminal app to run a small launch script to run
# the launchClient script to run Minecraft... is it possible that this is not the most
# straightforward way to go about things?)
- launcher_file = "/tmp/launcher_" + os.getpid() + ".sh"
+ launcher_file = "/tmp/launcher_" + str(os.getpid()) + ".sh"
tmp_file = open(launcher_file, "w")
tmp_file.write(minecraft_path + '/launchClient.sh -port ' + str(port) + replaceable_arg)
tmp_file.close()
