Skip to content

Commit

Permalink
✨ pull
Browse files Browse the repository at this point in the history
  • Loading branch information
XxLittleCxX committed Feb 5, 2022
1 parent 713dfa7 commit 888a50d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion online_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ async def api(request: web.Request):
return web.json_response(get_env(), headers={'Access-Control-Allow-Origin': '*'})

async def run(cmd: str, cwd: str):
proc = await asyncio.create_subprocess_exec(*cmd.split(' '), stdout=asyncio.subprocess.DEVNULL, stderr=asyncio.subprocess.DEVNULL,
proc = await asyncio.create_subprocess_exec(*cmd.split(' '), stdout=asyncio.subprocess.PIPE, stderr=asyncio.subprocess.DEVNULL,
stdin=asyncio.subprocess.DEVNULL, cwd=cwd)
return str((await proc.communicate())[0], encoding="utf-8", errors="ignore")

Expand Down

0 comments on commit 888a50d

Please sign in to comment.