2024-09-09 14:38:08 -04:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
timestamp=$(date +%Y%m%d_%H%M%S)
|
|
|
|
|
2024-09-14 18:41:50 -04:00
|
|
|
outFile=log/program_${timestamp}.log
|
|
|
|
|
|
|
|
mkdir -p "$(dirname "$outFile")"
|
|
|
|
|
|
|
|
echo "FSUDAQ, save stdout to $outFile"
|
2024-09-09 14:38:08 -04:00
|
|
|
|
|
|
|
stdbuf -oL ./FSUDAQ_Qt6 | tee $outFile
|