An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 5.8% dependent packages on proxy.golang.org
Top 4.7% dependent repos on proxy.golang.org

proxy.golang.org : github.com/vantt/go-cmd

Package cmd runs external commands with concurrent access to output and status. It wraps the Go standard library os/exec.Command to correctly handle reading output (STDOUT and STDERR) while a command is running and killing a command. All operations are safe to call from multiple goroutines. A basic example that runs env and prints its output: Commands can be ran synchronously (blocking) or asynchronously (non-blocking): Start returns a channel to which the final Status is sent when the command finishes for any reason. The first example blocks receiving on the channel. The second example is non-blocking because it saves the channel and receives on it later. Only one final status is sent to the channel; use Done for multiple goroutines to wait for the command to finish, then call Status to get the final status.

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/vantt/go-cmd
License: MIT
Latest release: about 6 years ago
First release: over 8 years ago
Namespace: github.com/vantt
Dependent packages: 1
Dependent repositories: 1
Stars: 0 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 14 days ago

Top 8.2% on proxy.golang.org
github.com/vantt/go-queuedispatcher v0.0.0-20190509065100-cb4208f1f454
Signal Handling in goworker To stop goworker, send a QUIT, TERM, or INT signal to the process. T...
1 version - Latest release: about 6 years ago - 0 stars on GitHub
Past Dependents
Include Past Dependents

Check this option to include packages that no longer depend on this package in their latest version but previously did.