Class ExecUtil
java.lang.Object
org.checkerframework.framework.util.ExecUtil
Utilities for executing external processes.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic intexecute(String[] cmd, OutputStream std, OutputStream err) Runs the given command in a new process
-
Field Details
-
BLOCK_SIZE
public static final int BLOCK_SIZE- See Also:
-
-
Method Details
-
execute
Runs the given command in a new process- Parameters:
cmd- the commandstd- a stream to capture the standard output of the processerr- a stream to capture the standard error of the process- Returns:
- the exit status of the process
-