Ecosyste.ms: Packages

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

Top 8.2% on proxy.golang.org

proxy.golang.org : github.com/ahmetb/go-dexec

Package dexec provides an interface similar to os/exec to run external commands inside containers. Please read documentation carefully about semantic differences between os/exec and dexec. This utility is intended to provide an execution environment without changing the existing code a lot to execute a command on a remote machine (or a pool of machines) running Docker engine or locally to limit resource usage and have extra security. The package needs the following dependencies to work: - You may receive empty stdout/stderr from commands if the executed command does not end with a trailing new line or has a different flushing behavior. - StdinPipe/StdoutPipe/StderrPipe should be used with goroutines (one that executes Cmd.Wait() and another one that writes to/reads from the pipe. Otherwise, the code may hang 10% of the time due to some timing issue.

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/ahmetb/go-dexec
Keywords: containers, docker, go, rpc
License: Apache-2.0
Latest release: 6 months ago
First release: almost 8 years ago
Namespace: github.com/ahmetb
Stars: 426 on GitHub
Forks: 36 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 19 days ago

    Loading...
    Readme
    Loading...