Running script in separate shell window
I am trying to run two scripts (xs and xc) from a script (xpilot.sh)
my problem is that xs is a script that does not return to the shell command prompt when done (it is a server launcher for xpilot)
therefore when I run my script, only the server starts, but not the client (xc)
I tried to add #!/bin/bash at the top of both scripts, but it doesn't help
I guess I should ask the shell to make a new shell for xs, but I couldn't figure out how. (I also tried to run the script with "sh -o ignoreeof " but I didn't work..
I'll appreciate any input,
thanks
|