Use os.pathsep instead of hardcoded separators in launch_gateway