8000 Just reports incorrectly if the specified working directory can't be found · Issue #2705 · casey/just · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Just reports incorrectly if the specified working directory can't be found #2705

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

Open
suguruwataru opened this issue Apr 13, 2025 · 0 comments

Comments

@suguruwataru
Copy link

Say we have this justfile:

[working-directory: "this-directory-does-not-exist"]
pwd:
  pwd

just pwd prints

pwd
error: Recipe `pwd` could not be run because just could not find the shell: No such file or directory (os error 2)

This error message makes one think the cause is that just somehow cannot find the shell executable, which is not the case. The error message should point out that the problem is that instead of the shell, it's the specified working directory that cannot be found.

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

1 participant
0