Documentation ¶ Index ¶ func Exec(ctx context.Context, args ...string) (string, string, error) func ExecBounded(ctx context.Context, limit int, args ...string) (string, error) func Version(ctx context.Context) (string, error) func WithDirectory(ctx context.Context, directory string) context.Context Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Exec ¶ func Exec(ctx context.Context, args ...string) (string, string, error) func ExecBounded ¶ added in v0.1.26 func ExecBounded(ctx context.Context, limit int, args ...string) (string, error) ExecBounded reads at most limit stdout bytes and never returns subprocess diagnostics. func Version ¶ func Version(ctx context.Context) (string, error) func WithDirectory ¶ added in v0.1.25 func WithDirectory(ctx context.Context, directory string) context.Context WithDirectory scopes a child command without changing the process directory. Types ¶ This section is empty. Source Files ¶ View all Source files bounded.gogh.go Click to show internal directories. Click to hide internal directories.