Sometimes I start several processes by using another script (in my case Ruby). I call this script from a terminal running bash. I would like to start those processes in the script in the background (by using
&). Unfortunately those processes are not listed when calling
jobs from within the terminal that run the script. I guess because those are run in a sub shell. This makes it hard to manage them.
Is there a way so that those processes are available by using jobs in the parent shell?