APIdia Launch Partner
Top Description Constructors Methods
jdk.internal.org.jline.utils

public final Class ExecHelper

extends Object
Class Inheritance
Imports
java.io.ByteArrayOutputStream, .Closeable, .IOException, .InputStream, .InterruptedIOException, .OutputStream, java.util.Map, .Objects

Helper methods for running unix commands.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
private static void
close(final Closeable... closeables)

public static String
exec(boolean redirectInput, final String... cmd)

public static String
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

ExecHelperback to summary
private ExecHelper()

Method Detail

closeback to summary
private static void close(final Closeable... closeables)
execback to summary
public static String exec(boolean redirectInput, final String... cmd) throws IOException
waitAndCaptureback to summary
public static String waitAndCapture(Process p) throws IOException, InterruptedException