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

Absolute inputs no longer working in 0.5.3 #21

Open
gauntface opened this issue Dec 13, 2024 · 1 comment
Open

Absolute inputs no longer working in 0.5.3 #21

gauntface opened this issue Dec 13, 2024 · 1 comment

Comments

@gauntface
Copy link

First off - thank you for this CLI, it's been really helpful for a long time.

I noticed that in 0.5.3 the CLI just hangs. I can drop to v0.5.2 and that will work correctly.

The only change between those versions is tnyglobby. I checked out the project to see if I can make sense of it and it looks like the way I've been running the tool is not longer supported by tinyglobby.

avif --input /tmp/abc/example.png --output /home/me/project/example --overwrite

Tinyglobby will freeze on input with an absolute path. I can get around it if we pass in a cwd to the glob options and change the flags:

avif --cwd /tmp/abc/ --input example.png --output /home/me/project/example --overwrite

PR: #20

I'm not sure if this is a desirable direction tbh, but thought I'd mention it in case others encounter the issue.

@lovell
Copy link
Owner

lovell commented Dec 13, 2024

I can also reproduce this, and there's some relevant discussion at SuperchupuDev/tinyglobby#51

Your idea to expose the working directory seems sensible - I'll take a look at your PR now.

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

No branches or pull requests

2 participants