MCPcopy Create free account
hub / github.com/Infatoshi/OpenSquirrel / generate_wrapper_scripts

Function generate_wrapper_scripts

src/hooks.rs:124–152  ·  view source on GitHub ↗

Generate wrapper scripts in ~/.osq/bin/ for each runtime. Each wrapper: 1. Traps EXIT to POST a Stop event 2. POSTs a Start event 3. exec's the real binary with all args Returns the path to the bin directory on success.

(runtime_names: &[&str])

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

newMethod · 0.85

Calls 2

find_real_binaryFunction · 0.85
generate_scriptFunction · 0.85

Tested by

no test coverage detected