forked from Mirror/pmbootstrap
Run ruff format (MR 2357)
This commit is contained in:
parent
36dd53f402
commit
7b451b25de
1 changed files with 1 additions and 3 deletions
|
@ -21,9 +21,7 @@ import pmb.helpers.run
|
||||||
called by core(). """
|
called by core(). """
|
||||||
|
|
||||||
|
|
||||||
def flat_cmd(
|
def flat_cmd(cmds: Sequence[Sequence[PathString]], working_dir: Path | None = None, env: Env = {}):
|
||||||
cmds: Sequence[Sequence[PathString]], working_dir: Path | None = None, env: Env = {}
|
|
||||||
):
|
|
||||||
"""Convert a shell command passed as list into a flat shell string with proper escaping.
|
"""Convert a shell command passed as list into a flat shell string with proper escaping.
|
||||||
|
|
||||||
:param cmds: list of commands as list, e.g. ["echo", "string with spaces"]
|
:param cmds: list of commands as list, e.g. ["echo", "string with spaces"]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue