We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
asyncio.create_subprocess_shell()
asyncio.create_subprocess_exec()
1 parent 35e9149 commit fab8b21Copy full SHA for fab8b21
chia/timelord/timelord_launcher.py
@@ -88,8 +88,11 @@ async def spawn_process(
88
dirname = path_to_vdf_client.parent
89
basename = path_to_vdf_client.name
90
resolved = await resolve(host, prefer_ipv6=prefer_ipv6)
91
- proc = await asyncio.create_subprocess_shell(
92
- f"{basename} {resolved} {port} {counter}",
+ proc = await asyncio.create_subprocess_exec(
+ os.fspath(basename),
93
+ str(resolved),
94
+ str(port),
95
+ str(counter),
96
stdout=asyncio.subprocess.PIPE,
97
stderr=asyncio.subprocess.PIPE,
98
env={"PATH": os.fspath(dirname)},
0 commit comments