-
-
Notifications
You must be signed in to change notification settings - Fork 163
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
Implement ulimit
builtin
#280
Comments
Yes good point. This would be a great contribution for someone since it's self-contained and AFAIK is a wrapper for the syscall :) It may have side effects that aren't easily testable, but in those cases I think simply testing that it "doesn't crash" is fine first the first pass. I also sometimes add manual demos in |
Another user hit this in #161 https://gist.github.com/wertercatt/5820fe28f9e107a55d6f28929c919c8f |
Found this during Java development: Osh prints an error, but apparently the |
As of Oils 0.21.0 (commit cc2f683) the $ osh -c 'ulimit -n 1024'
ulimit -n 1024
^~~~~~
[ -c flag ]:1: 'ulimit' not found
|
PS: See also #1914 |
Found this while investigating #279 - we don't implement
ulimit
. There's a man page at https://ss64.com/bash/ulimit.html,strace
shows that bash is usingprlimit64
. Python has this in a library: https://docs.python.org/3.5/library/resource.html#resource.prlimitThe text was updated successfully, but these errors were encountered: