KlassischeKeplerKriege/test/test.sh
2016-09-28 21:12:41 +02:00

18 lines
192 B
Bash
Executable file

#!/bin/bash
$1 &
echo running
sleep 1
function input(){
sleep 1
echo n playername
echo 34
sleep 10
echo 67
sleep 10
echo q
}
ID=$!
sleep 5
echo connect 3490
input | nc localhost 3490
sleep 3