blob: 1c4a8c4a2260bb4665bc00b29dc5e0865a2850e1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#!/bin/bash
function say_done {
espeak "done" 2> /dev/null
}
function say_failed {
espeak "failed" 2> /dev/null
}
set -o monitor
./build-profile.sh
cp position.blank position.txt
operf rtapi_app > profile.log &
linuxcnc -r circular_arcs.ini &
LOCAL_LCNC_PID=$!
echo $LOCAL_LCNC_PID
(python machine_setup.py $1 && say_done) || say_failed
#fg
#End profiling
pkill -9 axis
fg
|