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

Fix error output and hang on Windows #544

Merged
merged 3 commits into from
Jan 13, 2025
Merged

Fix error output and hang on Windows #544

merged 3 commits into from
Jan 13, 2025

Conversation

emdoyle
Copy link
Member

@emdoyle emdoyle commented Jan 13, 2025

The background process approach to logging anonymized usage statistics is broken on Windows. This PR re-implements this functionality entirely, using a subprocess which runs an isolated worker script. Communication from the main process happens through a short-lived text file in the .tach folder, and the processes are otherwise independent.

This required some refactoring in cli.py to parse the project config as early as possible.

@emdoyle emdoyle merged commit 7f0f875 into main Jan 13, 2025
7 checks passed
@emdoyle emdoyle deleted the fix-logging-on-windows branch January 13, 2025 07:51
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