The first terminal opens correctly. Subsequent terminals open too, but they do not run “another_command” like the first one does. To get it to work, I need to wait some arbitrary amount before invoking gnome-terminal again. 1 second works. 1/10 of a second does not. This will not scale.
Why is this? Is this a bug with Fedora? A bug in gnome-terminal? How long must I wait until reinvoking? I wrote a Windows script to do something similar with cmd once, and it did not exhibit the same behavior.
Could be. The number of loops depends on a user specified file. If the user wants OOM, so be it.
The point is, 2 gnome-terminals cannot be told to open and run a command within a 1/10 second interval.