mstrelan
asked on
shell command to spawn new terminal window
hi,
I need to write a shell script which gcc compiles my server / client app (server.c and client.c) and then runs them in separate terminal windows. how can i spawn these new terminal windows?
I need to write a shell script which gcc compiles my server / client app (server.c and client.c) and then runs them in separate terminal windows. how can i spawn these new terminal windows?
echo 'Compiling client...'
gcc Client.c -o Client
echo "Compiling server..."
gcc Server.c -o Server -lpthread
echo "Running server..."
./Server
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.