rnk added a comment. I thought ulimit was a bash builtin that affects the limits of the shell process. Even if ulimit exists as a separate command, I don't think shelling out to it will affect the parent process. Maybe this is a good place to run `bash -c`? https://reviews.llvm.org/D31614