public class ProcessFactory extends Object
| Modifier and Type | Method and Description |
|---|---|
Process |
exec(String cmd) |
Process |
exec(String[] cmdarray) |
Process |
exec(String[] cmdarray,
String[] envp) |
Process |
exec(String[] cmdarray,
String[] envp,
File dir) |
Process |
exec(String[] cmdarray,
String[] envp,
File dir,
PTY pty) |
Process |
exec(String cmd,
String[] envp) |
Process |
exec(String cmd,
String[] envp,
File dir) |
static ProcessFactory |
getFactory() |
public static ProcessFactory getFactory()
public Process exec(String cmd) throws IOException
IOExceptionpublic Process exec(String[] cmdarray) throws IOException
IOExceptionpublic Process exec(String[] cmdarray, String[] envp) throws IOException
IOExceptionpublic Process exec(String cmd, String[] envp) throws IOException
IOExceptionpublic Process exec(String cmd, String[] envp, File dir) throws IOException
IOExceptionpublic Process exec(String[] cmdarray, String[] envp, File dir) throws IOException
IOExceptionpublic Process exec(String[] cmdarray, String[] envp, File dir, PTY pty) throws IOException
IOExceptionCopyright © 2025. All rights reserved.