I'm making a script that combines taking input from the command line with the launch of other programs. So the script will go like this:
... launch program Read input from the terminal ...
The problem is that when I launch the program (even if I launch it in the background), the terminal looses focus and the launched program becomes active.
How do I launch a program keeping the focus on the terminal with a default Ubuntu command?