Registry / utility / go-cmd-cmd

go-cmd-cmd

JSON →
library1.4.3gogounverified

Package cmd runs external commands with concurrent access to output and status.

go get github.com/go-cmd/cmd
INSTALL
IMPORT
SIG · GO-CMD-CMD
G
go-cmd-cmd
utilitygov1.4.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

cmd
github.com/go-cmd/cmd

Run an external command and capture output.

package main import ( "fmt" "github.com/go-cmd/cmd" ) func main() { c := cmd.NewCmd("echo", "hello") status := <-c.Start() fmt.Println(status.Stdout) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.4.3latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
go-cmd-cmd — go get go-cmd-cmd · libregistry