Skip to content
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

Recompile inotifywait.exe; test w/ Elixir 1.18 #103

Merged
merged 1 commit into from
Jan 5, 2025

Conversation

dtcaciuc
Copy link
Contributor

@dtcaciuc dtcaciuc commented Jan 5, 2025

Recently updated version does not match the bundled sources and probably came from the upstream, which currently doesn't watch for closed STDIN which Port needs to cleanly shut down the process.

Recompile bundled sources that do have the feature and update the binary.

Fixes #102

Recently updated version does not match the bundled sources
and probably came from the upstream, which currently doesn't watch
for closed STDIN which Port needs to cleanly shut down the process.

Recompile bundled sources that do have the feature and update the
binary.
@@ -4,8 +4,9 @@ defmodule FileSystemTest do
@moduletag os_linux: true, os_macos: true, os_windows: true

test "file event api" do
tmp_dir = System.cmd("mktemp", ["-d"]) |> elem(0) |> String.trim()
Copy link
Contributor Author

@dtcaciuc dtcaciuc Jan 5, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AFAIK this command does not normally come with Windows and was absent on my machine.

I borrowed this mktemp_d implementation from the internets and it's not bulletproof but should be good enough for our purposes.

@falood
Copy link
Owner

falood commented Jan 5, 2025

the CI passed, then let's merge it and I'll bump a version, thanks ♥️

@falood falood merged commit 4a660e0 into falood:main Jan 5, 2025
6 checks passed
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.

FileSystem process prevents script from exiting
2 participants