-
-
Notifications
You must be signed in to change notification settings - Fork 503
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
_cwd doesn't work with _fg #330
Labels
Comments
cwd supported with fg |
Hello, I stumbled upon this bug today. Environment
How to reproduce
It prints the result of |
@amoffat @j-vizcaino I can reproduce it as well
from sh import pwd, mkdir
mkdir('-p', 'test')
pwd(_fg=True) # output: /app (CORRECT)
pwd(_cwd='test', _fg=True) # output: /app (WRONG, should be /app/test)
print(pwd(_cwd='test')) # output: /app/test (CORRECT) |
Also ran into this issue. Hopefully @amoffat can chime in as to whether it's a regression or intended behavior (sounds like the former?) |
Seems like a regression, confirmed on Ubuntu |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
And I'm sure a few more useful options don't work with
_fg
either.The text was updated successfully, but these errors were encountered: