public class ProcessUtils
extends java.lang.Object
Constructor and Description |
---|
ProcessUtils() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
escapeCommandLine(java.lang.String arg)
This should correctly put double-quotes around an argument if
ProcessBuilder doesn't seem to work (as it doesn't
on paths with spaces on Windows)
|
static java.lang.String |
unescapeCommandLine(java.lang.String arg) |
public static java.lang.String escapeCommandLine(java.lang.String arg)
arg
- public static java.lang.String unescapeCommandLine(java.lang.String arg)
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"