MCPcopy Create free account
hub / github.com/ScaleML/AgentSPEX / _exec_script

Function _exec_script

src/harness/ephemeral/cli.py:13–17  ·  view source on GitHub ↗

Replace the current process with a script from scripts/.

(script_name: str, *args: str)

Source from the content-addressed store, hash-verified

11
12
13def _exec_script(script_name: str, *args: str):
14 """Replace the current process with a script from scripts/."""
15 os.execv(
16 sys.executable, [sys.executable, str(_SCRIPTS_DIR / script_name)] + list(args)
17 )
18
19
20def run(

Callers 4

_setup_slackFunction · 0.70
_setup_discordFunction · 0.70
_listen_slackFunction · 0.70
_listen_discordFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected