MCPcopy Index your code
hub / github.com/bitfield/script / ExampleExec_ok

Function ExampleExec_ok

script_unix_test.go:132–136  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

130}
131
132func ExampleExec_ok() {
133 script.Exec("echo Hello, world!").Stdout()
134 // Output:
135 // Hello, world!
136}
137
138func ExampleFindFiles() {
139 script.FindFiles("testdata/multiple_files_with_subdirectory").Stdout()

Callers

nothing calls this directly

Calls 2

ExecFunction · 0.92
StdoutMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…