public final class Processes extends Object
Modifier and Type | Method and Description |
---|---|
static Process |
executeInPty(String[] command,
Map<String,String> environment,
File workingDirectory)
Starts a new process.
|
static Process |
executeInPty(String[] command,
Map<String,String> environment,
File workingDirectory,
boolean console) |
public static Process executeInPty(String[] command, Map<String,String> environment, File workingDirectory) throws IOException
command
- the command to execute.environment
- the environment variables.workingDirectory
- the working directory.IOException
- if something went wrong.public static Process executeInPty(String[] command, Map<String,String> environment, File workingDirectory, boolean console) throws IOException
IOException
Copyright © 2024. All rights reserved.