kedro/cli/utils.py
def call(cmd: List[str], **kwargs):  # pragma: no cover
    """Run a subprocess command and exit if it fails."""
    print(" ".join(shlex.quote(c) for c in cmd))
    # pylint: disable=subprocess-run-check
    res = subprocess.run(cmd, **kwargs).returncode
    if res:
        sys.exit(res)
Run a subprocess command and exit if it fails.
Run a subprocess command and exit if it fails.
Run a subprocess command and exit if it fails .
def call(cmd: List[str], **kwargs):  
    print(" ".join(shlex.quote(c) for c in cmd))
    res = subprocess.run(cmd, **kwargs).returncode
    if res:
        sys.exit(res)
def call ( cmd : List [ str ] , ** kwargs ) : print ( " " . join ( shlex . quote ( c ) for c in cmd ) ) res = subprocess . run ( cmd , ** kwargs ) . returncode if res : sys . exit ( res )
Run a subprocess command and exit if it fails.
Run a subprocess command and exit if it fails .
# pragma: no cover """Run a subprocess command and exit if it fails.""" # pylint: disable=subprocess-run-check
cmd
List[str]