Skip to content

Support spaces in filepaths #10

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 18, 2025
Merged

Conversation

devodev
Copy link
Owner

@devodev devodev commented May 18, 2025

Use null delimiters between fields returned by inotifywait.

Remove the possibility to configure --format and --no-newline. Instead, we make the script API deterministic by always passing the 4 possible arguments from inotifywait: time, watched file/dir, events and target file (when watching a directory).

This is a breaking change, although no changes when the default value for INOTIFY_CFG_FORMAT and INOTIFY_CFG_NO_NEWLINE were used.

Fixes: #7

Use null delimiters between fields returned by inotifywait.

Remove the possibility to configure --format and --no-newline.
Instead, we make the script API deterministic by always passing
the 4 possible arguments from inotifywait: time, watched file/dir,
events and target file (when watching a directory).
@devodev devodev self-assigned this May 18, 2025
@devodev devodev added the enhancement New feature or request label May 18, 2025
@devodev devodev merged commit 7136844 into master May 18, 2025
@devodev devodev deleted the pr/devodev/support-spaces-in-paths branch May 18, 2025 15:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Filenames with space are not correctly passed to script.
1 participant