@ApiStatus.Obsolete(since = "2024.2")
  public @NotNull GeneralCommandLine withWorkDirectory(@Nullable String path) {
    return withWorkingDirectory(path != null ? Path.of(path) : null);
  }
@ApiStatus.Obsolete(since = "2024.2")
  public @NotNull GeneralCommandLine withWorkDirectory(@Nullable String path)