public static void executeExternalProcess(final @Nullable Project myProject,
                                            final @NotNull ProcessHandler processHandler,
                                            final @NotNull ExecutionMode mode,
                                            final @NotNull GeneralCommandLine cmdline) {
    executeExternalProcess(myProject, processHandler, mode, cmdline.getCommandLineString());
  }
public static void executeExternalProcess(final @Nullable Project myProject,
                                            final @NotNull ProcessHandler processHandler,
                                            final @NotNull ExecutionMode mode,
                                            final @NotNull GeneralCommandLine cmdline)