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

Unable to read json file in windows git bash #318

Closed
meblum opened this issue Aug 7, 2024 · 1 comment · Fixed by #319
Closed

Unable to read json file in windows git bash #318

meblum opened this issue Aug 7, 2024 · 1 comment · Fixed by #319

Comments

@meblum
Copy link
Contributor

meblum commented Aug 7, 2024

fx does not detect that the file descriptor is a terminal when using git bash on windows, so it always expects input from stdin. When calling fx with no argument, it just remains hanging instead of returning with usage info.
When a file is passed as an argument, it interprets it as a function.

@meblum
Copy link
Contributor Author

meblum commented Aug 7, 2024

Seems that the problem is only on newer versions of git bash.

meblum added a commit to meblum/fx that referenced this issue Aug 7, 2024
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 a pull request may close this issue.

1 participant