FSUDAQ_Qt6/FSUDAQ

11 lines
198 B
Bash
Executable File

#!/bin/bash
timestamp=$(date +%Y%m%d_%H%M%S)
outFile=log/program_${timestamp}.log
mkdir -p "$(dirname "$outFile")"
echo "FSUDAQ, save stdout to $outFile"
stdbuf -oL ./FSUDAQ_Qt6 | tee $outFile