Skip to content

Commit

Permalink
trio.open_process() isn't released yet
Browse files Browse the repository at this point in the history
  • Loading branch information
goodboy committed Jul 12, 2019
1 parent d11fe44 commit 53bf511
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions pysipp/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ def scenario(dirpath=None, proxyaddr=None, autolocalsocks=True,
# same as above
scen = plugin.mng.hook.pysipp_conf_scen_protocol(
agents=[uas, uac], confpy=None,
scenkwargs=scenkwargs,
)

if proxyaddr is not None:
Expand Down
3 changes: 2 additions & 1 deletion pysipp/launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ async def run(
for cmd in cmds:
log.debug(
"launching cmd:\n\"{}\"\n".format(cmd))
proc = await trio.open_process(
# proc = await trio.open_process(
proc = trio.Process(
shlex.split(cmd),
stdout=subprocess.DEVNULL,
stderr=subprocess.PIPE
Expand Down

0 comments on commit 53bf511

Please sign in to comment.