Registry / utility / go-sh
library0.2.0gogounverified

Provides a simple and powerful way to execute shell commands in Go with pipe support and shell-session capabilities.

go get gomodules.xyz/go-sh
INSTALL
IMPORT
SIG · GO-SH
G
go-sh
utilitygov0.2.0
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.

sh
gomodules.xyz/go-sh

Runs a simple shell command and prints its output.

package main import ( "fmt" "gomodules.xyz/go-sh" ) func main() { out, err := sh.Command("echo", "hello").Output() if err != nil { panic(err) } fmt.Println(string(out)) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
10
Resources
go-sh — go get go-sh · libregistry