bee.util
Process
isAvailable
(String
command
)
boolean
String
command
)String command |
|
boolean |
Test command.
with
()
Process
Process |
Create new Process
builder.
runWith
(Object
commands
)
void
Object
commands
)Object commands |
Shorthand to Process.with().run(commands).
readWith
(Object
commands
)
String
Object
commands
)Object commands |
|
String |
Shorthand to Process.with().read(commands).
workingDirectory
(psychopath.Directory
directory
)
Process
psychopath.Directory
directory
)psychopath.Directory directory |
A working directory. |
Process |
Fluent API. |
Set the working directory of the sub process.
encoding
(Charset
encoding
)
Process
Charset
encoding
)Charset encoding |
|
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
(BooleanSupplier
condition
, String
command
)
Process
BooleanSupplier
condition
, String
command
)BooleanSupplier condition |
|
String command |
|
Process |
Configure the platform specific command.
run
(String
commands
)
int
String
commands
)String commands |
|
int |
Execute sub process.
run
(Object
commands
)
int
Object
commands
)Object commands |
|
int |
Execute sub process.
run
(ListString
command
)
int
ListString
command
)List command |
|
int |
Execute sub process.
read
(String
commands
)
String
String
commands
)String commands |
|
String |
Execute sub process and accept its result.
read
(Object
commands
)
String
Object
commands
)Object commands |
|
String |
Execute sub process and accept its result.
read
(ListString
command
)
String
ListString
command
)List command |
|
String |
Execute sub process and accept its result.