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

--chdir=DIR in env #1568

Closed
FelipeLema opened this issue Jul 28, 2020 · 2 comments · Fixed by #1569
Closed

--chdir=DIR in env #1568

FelipeLema opened this issue Jul 28, 2020 · 2 comments · Fixed by #1569
Assignees

Comments

@FelipeLema
Copy link
Contributor

Latest GNU coreutils have a useful (to me) feature of changing the "current" directory before running the command:

  -C, --chdir=DIR      change working directory to DIR

The way it works in GNU coreutils is that it changes to the fully-symlink-resolved path (think readlink -f) of the directory being provided. I personally prefer it to be "change to the exact path I'm providing, regardless of whether it is relative or not", but maybe someone has a different opinion about this.

@rivy rivy self-assigned this Jul 29, 2020
@rivy
Copy link
Member

rivy commented Jul 29, 2020

Thanks for the note.
I'll look into it when I get some time.
If you'd like it sooner, PRs are welcome!

@FelipeLema
Copy link
Contributor Author

I'll do a PR soon, then.

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.

2 participants