public final class ExecUtils extends Object
Modifier and Type | Method and Description |
---|---|
static int |
callProgram(String[] args,
File workDir) |
static int |
callProgram(String commandLine,
File workDir) |
static int |
callProgram(String commandLine,
Logger logger) |
static int |
callProgram(String commandLine,
Logger logger,
File workDir) |
static int |
callProgram(String commandLine,
OutputStream stdOutStream,
OutputStream stdErrStream) |
static int |
callProgram(String commandLine,
OutputStream stdOutStream,
OutputStream stdErrStream,
File workDir) |
static String |
printCommandLine(String[] args) |
public static int callProgram(String commandLine, Logger logger) throws IOException
IOException
public static int callProgram(String commandLine, OutputStream stdOutStream, OutputStream stdErrStream) throws IOException
IOException
public static int callProgram(String commandLine, Logger logger, File workDir) throws IOException
IOException
public static int callProgram(String commandLine, OutputStream stdOutStream, OutputStream stdErrStream, File workDir) throws IOException
IOException
public static int callProgram(String commandLine, File workDir) throws IOException
IOException
public static int callProgram(String[] args, File workDir) throws IOException
IOException
Copyright © 1999–2017 Apache OODT. All rights reserved.