forked from Mirror/pmbootstrap
Revert "pmb: Make RunOutputTypeDefault and RunOutputTypePopen enums"
Revert the patch, as it breaks "pmbootstrap chroot".
This reverts commit 7d2f055bcb
.
This commit is contained in:
parent
ae0d162d31
commit
3ea5a3433b
20 changed files with 84 additions and 167 deletions
|
@ -19,7 +19,7 @@ from pmb.types import (
|
|||
def user(
|
||||
cmd: Sequence[PathString],
|
||||
working_dir: Path | None = None,
|
||||
output: RunOutputType = RunOutputTypeDefault.LOG,
|
||||
output: RunOutputType = "log",
|
||||
output_return: bool = False,
|
||||
check: bool | None = None,
|
||||
env: Env = {},
|
||||
|
@ -58,7 +58,7 @@ def user(
|
|||
def user_output(
|
||||
cmd: Sequence[PathString],
|
||||
working_dir: Path | None = None,
|
||||
output: RunOutputType = RunOutputTypeDefault.LOG,
|
||||
output: RunOutputType = "log",
|
||||
check: bool | None = None,
|
||||
env: Env = {},
|
||||
sudo: bool = False,
|
||||
|
@ -106,7 +106,7 @@ def root(
|
|||
def root(
|
||||
cmd: Sequence[PathString],
|
||||
working_dir: Path | None = None,
|
||||
output: RunOutputType = RunOutputTypeDefault.LOG,
|
||||
output: RunOutputType = "log",
|
||||
output_return: bool = False,
|
||||
check: bool | None = None,
|
||||
env: Env = {},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue