public class ProcessOptions extends Object
Modifier and Type | Field and Description |
---|---|
static Map<String,String> |
DEFAULT_ENV
The default environment variables = the current process environment variables
|
Constructor and Description |
---|
ProcessOptions() |
ProcessOptions(io.vertx.core.json.JsonObject json) |
ProcessOptions(ProcessOptions that) |
Modifier and Type | Method and Description |
---|---|
String |
getCwd() |
Map<String,String> |
getEnv() |
ProcessOptions |
setCwd(String cwd)
Set the child process current working directory.
|
ProcessOptions |
setEnv(Map<String,String> env)
Set the child process environment variables as key-value pairs.
|
io.vertx.core.json.JsonObject |
toJson() |
public ProcessOptions()
public ProcessOptions(ProcessOptions that)
public ProcessOptions(io.vertx.core.json.JsonObject json)
public Map<String,String> getEnv()
public ProcessOptions setEnv(Map<String,String> env)
env
- the env variablespublic String getCwd()
public ProcessOptions setCwd(String cwd)
cwd
- the current working directorypublic io.vertx.core.json.JsonObject toJson()
Copyright © 2023 Eclipse. All rights reserved.