#!/bin/bash set -o monitor set -e #./build-release.sh cp position.blank configs/position.txt rm -f configs/constraints.log linuxcnc "$1" > test.log & if [ -f "$2" ] then FILENAME="../"$2 fi ./machine_setup.py "$FILENAME" fg ./process_runlog.sh test.log #if [ -a movement.log ] #then #octave/plot_movement.m #fi