bee

bee.util

Process

isAvailable(Stringcommand)boolean

Stringcommand
boolean

Test command.

with()Process

Process

Create new Process builder.

runWith(Objectcommands)void

Objectcommands

Shorthand to Process.with().run(commands).

readWith(Objectcommands)String

Objectcommands
String

Shorthand to Process.with().read(commands).

workingDirectory(psychopath.Directorydirectory)Process

psychopath.Directorydirectory

A working directory.

Process

Fluent API.

Set the working directory of the sub process.

encoding(Charsetencoding)Process

Charsetencoding
Process

Set System#out and System#in encoding. .

inParallel()Process

Process

Fluent API.

Make this process running asynchronously.

ignoreOutput()Process

Process

Fluent API.

Make this process ignore system output.

verbose()Process

Process

Configure debugging log.

inheritIO()Process

Process

Configure user IO.

when(BooleanSuppliercondition, Stringcommand)Process

BooleanSuppliercondition
Stringcommand
Process

Configure the platform specific command.

run(Stringcommands)int

Stringcommands
int

Execute sub process.

run(Objectcommands)int

Objectcommands
int

Execute sub process.

run(ListStringcommand)int

ListStringcommand
int

Execute sub process.

read(Stringcommands)String

Stringcommands
String

Execute sub process and accept its result.

read(Objectcommands)String

Objectcommands
String

Execute sub process and accept its result.

read(ListStringcommand)String

ListStringcommand
String

Execute sub process and accept its result.