util: run returns CompletedProcess
This commit is contained in:
parent
ea14713f3a
commit
88474fd4d9
1 changed files with 1 additions and 1 deletions
|
|
@ -46,4 +46,4 @@ class Chroot:
|
|||
def run(self, cmd, **kwargs):
|
||||
cmd = ["/usr/sbin/chroot", self.root] + cmd
|
||||
# pylint: disable=subprocess-run-check
|
||||
subprocess.run(cmd, **kwargs) # noqa: PLW1510
|
||||
return subprocess.run(cmd, **kwargs) # noqa: PLW1510
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue