Skip to content
Snippets Groups Projects
Commit ef32fc9b authored by Carmelo Pellegrino's avatar Carmelo Pellegrino
Browse files

reading the path of DM from shell var

parent f9dafcf9
No related branches found
No related tags found
No related merge requests found
......@@ -8,6 +8,11 @@
# Author: Carmelo Pellegrino <carmelo.pellegrino@bo.infn.it>
#
# The configuration of this very script is perfomed via shell variables.
# Here the list of parameters is reported
#
# DM_EXE_DIR -> the absolute path to the DetectorControl.exe program
function put_lock() {
touch /tmp/pc.lock
}
......@@ -158,7 +163,7 @@ cat ${rs_file} | sed -e "s/RUNNUMBER/${run_number}/" >dm.detectorfile
run_start_time=`nowUTC`
# Launch the DM
dm_driver ${run_duration_seconds} | mono DetectorControl.exe --control --reset &
dm_driver ${run_duration_seconds} | mono ${DM_EXE_DIR}/DetectorControl.exe --control --reset &
PROCS=(${PROCS[*]} $!)
# Launch the DAQ
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment