shell_command: python 3.10 fix
Remove the deprecated "loop" parameter in asyncio.gather(). Signed-off-by: Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
parent
5f54a23f3e
commit
09689143b5
|
@ -121,7 +121,7 @@ class SCProcess(asyncio.subprocess.Process):
|
|||
else:
|
||||
stderr = self._noop() # type: ignore
|
||||
stdin, stdout, stderr = await asyncio.tasks.gather(
|
||||
stdin, stdout, stderr, loop=self._loop) # type: ignore
|
||||
stdin, stdout, stderr)
|
||||
await self.wait()
|
||||
|
||||
class ShellCommand:
|
||||
|
|
Loading…
Reference in New Issue