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
IOException
public Process exec(String[] cmdarray) throws IOException
IOException
public Process exec(String[] cmdarray, String[] envp) throws IOException
IOException
public Process exec(String cmd, String[] envp) throws IOException
IOException
public Process exec(String cmd, String[] envp, File dir) throws IOException
IOException
public Process exec(String[] cmdarray, String[] envp, File dir) throws IOException
IOException
public Process exec(String[] cmdarray, String[] envp, File dir, PTY pty) throws IOException
IOException
Copyright © 2024. All rights reserved.