Type annot the proc from `trio.lowlevel.open_process()`
parent
338395346d
commit
54530dcf94
|
@ -451,10 +451,9 @@ async def trio_proc(
|
||||||
proc: trio.Process|None = None
|
proc: trio.Process|None = None
|
||||||
try:
|
try:
|
||||||
try:
|
try:
|
||||||
# TODO: needs ``trio_typing`` patch?
|
proc: trio.Process = await trio.lowlevel.open_process(spawn_cmd)
|
||||||
proc = await trio.lowlevel.open_process(spawn_cmd)
|
|
||||||
log.runtime(
|
log.runtime(
|
||||||
'Started new sub-proc\n'
|
'Started new child\n'
|
||||||
f'|_{proc}\n'
|
f'|_{proc}\n'
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue