MCPcopy Create free account
hub / github.com/defold/defold / shell_command

Function shell_command

build_tools/run.py:152–157  ·  view source on GitHub ↗
(args, **kwargs)

Source from the content-addressed store, hash-verified

150 sys.exit(e.retcode)
151
152def shell_command(args, **kwargs):
153 # Executes a command, and exits if it fails
154 try:
155 return _exec_command(args, shell = True, **kwargs)
156 except ExecException as e:
157 sys.exit(e.retcode)
158
159
160def env_command(env, args, **kwargs):

Callers

nothing calls this directly

Calls 2

_exec_commandFunction · 0.85
exitMethod · 0.80

Tested by

no test coverage detected