Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/agis/spawn
/ functions
Functions
6 in github.com/agis/spawn
⨍
Functions
6
◇
Types & classes
1
↓ 2 callers
Method
Wait
Wait waits for the command to exit and waits for any copying to stdin or copying from stdout or stderr to complete. The command must have been starte
spawn.go:91
↓ 1 callers
Function
New
New returns a Cmd that will either execute the passed in main() function, or the parent binary with the given arguments. The program's main() function
spawn.go:41
↓ 1 callers
Method
Start
Start starts c until it terminates or ctx is cancelled. It does not wait for it to complete. When ctx is cancelled a SIGINT is sent to c. The Wait me
spawn.go:58
Function
TestFoo
(t *testing.T)
examples/main_test.go:37
Function
TestMain
(m *testing.M)
examples/main_test.go:15
Function
main
()
examples/main.go:14