mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
notnull
This commit is contained in:
+2
@@ -228,6 +228,7 @@ public class GeneralCommandLine implements UserDataHolder {
|
||||
return StringUtil.join(CommandLineUtil.toCommandLine(exePath, myProgramParams.getList(), platform), "\n");
|
||||
}
|
||||
|
||||
@NotNull
|
||||
public Process createProcess() throws ExecutionException {
|
||||
if (LOG.isDebugEnabled()) {
|
||||
LOG.debug("Executing [" + getCommandLineString() + "]");
|
||||
@@ -257,6 +258,7 @@ public class GeneralCommandLine implements UserDataHolder {
|
||||
}
|
||||
}
|
||||
|
||||
@NotNull
|
||||
protected Process startProcess(@NotNull List<String> commands) throws IOException {
|
||||
ProcessBuilder builder = new ProcessBuilder(commands);
|
||||
setupEnvironment(builder.environment());
|
||||
|
||||
@@ -37,6 +37,7 @@ public class PtyCommandLine extends GeneralCommandLine {
|
||||
|
||||
public PtyCommandLine() { }
|
||||
|
||||
@NotNull
|
||||
@Override
|
||||
protected Process startProcess(@NotNull List<String> commands) throws IOException {
|
||||
if (SystemInfo.isUnix) {
|
||||
|
||||
Reference in New Issue
Block a user