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
autojump_chpwd:4: nice(5) failed: operation not permitted #474
Comments
Hey man, I use rupa/z on Windows bash and I was getting a very similar error:
Check out my fork to see how I fixed it at https://github.com/Kerren/z. Basically, you've got to redirect that standard output to null. Autojump should still work perfectly. Unfortunately, I haven't used autojump and I'm very happy with Good luck! |
Hi. Do you also use WSL on Creators Update? |
@ruixingw I guess it's the same, yes. But I installed WSL ~a month ago and had insider slow ring. I had another laptop which was running WSL bash for ~half a year with insider fast ring, and I never experienced that issue there ... - weird |
@pgrm : @daiconrad has given a good workaround: add this to your
I guess you can close this issue now and let's wait for its origin: microsoft/WSL#1838 |
I'm using autojump on Bash on Windows - I had an older laptop with the latest insider preview builds, ubuntu 16.04 and it worked fine. On my new laptop, it also worked fine, until I switched to insider preview (slow ring) and upgraded to Ubuntu 16.04.
Now I get the error message
autojump_chpwd:4: nice(5) failed: operation not permitted
after everyj
orcd
command. For instance:The operations complete successfully, I get to the right place and
echo $?
shows0
but the error message is very annoying. Is there anything I could do to hide it? (or even better, resolve the issue?)The text was updated successfully, but these errors were encountered: