Using Kernel.spawn I can start a new process from within ruby, executing som arbitrary shell commands. The new process will appear in the same control group as the ruby process. How can I change that to have it go in it's own?
The reason for me wanting this is that my ruby process is managed by systemd and I don't want any of these particular shell command processes to be cleaned up/terminated when the ruby process is restarted.