I'm stuck. I have two scripts, i need a line(s) of code in script one, that when script one is finished it automatically run script 2 in a new terminal. I've found: xterm -e "command" Which doesn't really work, it runs it in an xterm windows - not a gnome terminal and it also doesn't finish script one, it hangs of sorts. I also heard of Pexpect but i have no idea how to use it. So what i need: Script one is finishing, it then starts script 2 but script 1 then needs to keep going. Both are python scripts. Any ideas on this?