public final class ProcessBuilders extends Object
ProcessBuilder
class.| Modifier and Type | Method and Description |
|---|---|
static ProcessBuilder |
builder(List<String> args)
Quotes command line args, performing proper escaping.
|
static List<String> |
quote(List<String> args)
Quotes command line args, performing proper escaping.
|
static String |
quote(String arg)
Quotes command a line argument, performing proper escaping.
|
public static ProcessBuilder builder(List<String> args)
args - the list of unquoted argumentspublic static List<String> quote(List<String> args)
args - the list of unquoted argumentsCopyright © 2024 Actian Corporation. All rights reserved.