processbuilder

package
v0.7.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 5, 2026 License: EPL-1.0 Imports: 8 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package processbuilder provides the java.lang.ProcessBuilder surface used by portable Clojure libraries to launch child processes.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Link()

Link gives embedders an explicit package-retention reference.

Types

type Environment

type Environment struct {
	// contains filtered or unexported fields
}

func (*Environment) Put

func (e *Environment) Put(key, value any) any

type Process

type Process struct {
	// contains filtered or unexported fields
}

func (*Process) GetErrorStream

func (p *Process) GetErrorStream() io.ReadCloser

func (*Process) GetInputStream

func (p *Process) GetInputStream() io.ReadCloser

func (*Process) WaitFor

func (p *Process) WaitFor() int32

type ProcessBuilder

type ProcessBuilder struct {
	// contains filtered or unexported fields
}

func New

func New(command any) *ProcessBuilder

func (*ProcessBuilder) Environment

func (b *ProcessBuilder) Environment() *Environment

func (*ProcessBuilder) RedirectError

func (b *ProcessBuilder) RedirectError(value any) *ProcessBuilder

func (*ProcessBuilder) Start

func (b *ProcessBuilder) Start() *Process

type Redirect

type Redirect string
const Inherit Redirect = "INHERIT"

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL