Instead of hard-coding gnome-terminal, konsole, et cetera, use the Alternatives system. The program that executes the default terminal emulator is:
x-terminal-emulator
On my system, it opens a new instance of Konsole every time I execute this command.
Luckily, the terminals seems to support the -e option for executing a command (I verified it for konsole and gnome-terminal). Arguments after the command are passed to the invoked command. Bash refuses to stay open in my terminal, an additional script is needed to get a terminal:
#!/bin/sh
"$@"
exec "$SHELL"
If you've saved the previous script as /home/user/hacky and made it executable, you would run your scripts with:
x-terminal-emulator -e /home/user/hacky your-script optional arguments here
The full path is required and /home/user/hacky has to be executable.
My previous attempt to run a script in a new terminal window can be found in revision #2, it was before I realised arguments can be passed to x-terminal-emulator.