Please find attached a patch to fix this behaviour. I'll but submitting this upstream, but figured there's no need to wait for the next release as it's a simple, one-line fix.
** Patch added: "Patch to force cpulimit to exit when using specific PID" https://bugs.launchpad.net/ubuntu/+source/cpulimit/+bug/200115/+attachment/2054243/+files/cpulimit_c_lazy_pid.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/200115 Title: cpulimit is left waiting for PID -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs