@ApiStatus.Obsolete(since = "2024.2")
  public @NotNull GeneralCommandLine withWorkDirectory(@Nullable File workDirectory) {
    return withWorkingDirectory(workDirectory != null ? workDirectory.toPath() : null);
  }
@ApiStatus.Obsolete(since = "2024.2")
  public @NotNull GeneralCommandLine withWorkDirectory(@Nullable File workDirectory)