You need to specify the arguments as separate Strings
:
new ProcessBuilder("cmd", "arg1", "arg2", ...);
The constructor accepts String
, varargs
, and List<String>
.
See ProcessBuilder documentation.
You need to specify the arguments as separate Strings
:
new ProcessBuilder("cmd", "arg1", "arg2", ...);
The constructor accepts String
, varargs
, and List<String>
.
See ProcessBuilder documentation.