MCPcopy Create free account
hub / github.com/aws/amazon-q-developer-cli / run_cmd

Function run_cmd

scripts/util.py:96–99  ·  view source on GitHub ↗
(args: Args, env: Env | None = None, cwd: Cwd | None = None, check: bool = True)

Source from the content-addressed store, hash-verified

94
95
96def run_cmd(args: Args, env: Env | None = None, cwd: Cwd | None = None, check: bool = True):
97 args_str = [str(arg) for arg in args]
98 print(f"+ {shlex.join(args_str)}")
99 subprocess.run(args, env=env, cwd=cwd, check=check)
100
101
102def run_cmd_output(

Callers 13

run_clippyFunction · 0.90
run_cargo_testsFunction · 0.90
lint_install_shFunction · 0.90
run_cargo_testsFunction · 0.90
run_clippyFunction · 0.90
build_chat_binFunction · 0.90
cd_build_signed_packageFunction · 0.90
sign_executableFunction · 0.90
notarize_executableFunction · 0.90
build_macosFunction · 0.90
__init__Method · 0.90
sign_fileMethod · 0.90

Calls 2

joinMethod · 0.80
runMethod · 0.45

Tested by 3

run_clippyFunction · 0.72
run_cargo_testsFunction · 0.72
lint_install_shFunction · 0.72