bee.util
Process
isAvailable(Stringcommand)boolean
Stringcommand)Stringcommand |
|
boolean |
Test command.
with()Process
Process |
Create new Process builder.
runWith(Objectcommands)void
Objectcommands)Objectcommands |
Shorthand to Process.with().run(commands).
readWith(Objectcommands)String
Objectcommands)Objectcommands |
|
String |
Shorthand to Process.with().read(commands).
workingDirectory(psychopath.Directorydirectory)Process
psychopath.Directorydirectory)psychopath.Directorydirectory |
A working directory. |
Process |
Fluent API. |
Set the working directory of the sub process.
encoding(Charsetencoding)Process
Charsetencoding)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)BooleanSuppliercondition |
|
Stringcommand |
|
Process |
Configure the platform specific command.
run(Stringcommands)int
Stringcommands)Stringcommands |
|
int |
Execute sub process.
run(Objectcommands)int
Objectcommands)Objectcommands |
|
int |
Execute sub process.
run(ListStringcommand)int
ListStringcommand)Listcommand |
|
int |
Execute sub process.
read(Stringcommands)String
Stringcommands)Stringcommands |
|
String |
Execute sub process and accept its result.
read(Objectcommands)String
Objectcommands)Objectcommands |
|
String |
Execute sub process and accept its result.
read(ListStringcommand)String
ListStringcommand)Listcommand |
|
String |
Execute sub process and accept its result.