Skip to content

feat: add --temp-dir option to customize temporary file directory#207

Open
Nieg wants to merge 1 commit intounoconv:masterfrom
Nieg:master
Open

feat: add --temp-dir option to customize temporary file directory#207
Nieg wants to merge 1 commit intounoconv:masterfrom
Nieg:master

Conversation

@Nieg
Copy link
Copy Markdown

@Nieg Nieg commented Apr 22, 2026

  • Add temp_dir parameter to UnoConverter and UnoServer classes
  • Update TempFileIfNeeded to support custom temp directory with proper cleanup
  • Add --temp-dir CLI argument for specifying temporary file location
  • Improve temporary file handling with explicit deletion and error handling
  • Update README documentation for the new option

This change allows users to specify a custom directory for temporary files, which helps avoid permission issues on systems like Windows where the default temp directory (C:\Windows\Temp) may have restricted access.

Fixs #204

- Add temp_dir parameter to UnoConverter and UnoServer classes
- Update TempFileIfNeeded to support custom temp directory with proper cleanup
- Add --temp-dir CLI argument for specifying temporary file location
- Improve temporary file handling with explicit deletion and error handling
- Update README documentation for the new option

This change allows users to specify a custom directory for temporary files,
which helps avoid permission issues on systems like Windows where the default
temp directory (C:\Windows\Temp) may have restricted access.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant