KlassischeKeplerKriege/test/test.sh

19 lines
192 B
Bash
Raw Permalink Normal View History

2016-09-28 19:12:41 +00:00
#!/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