Skip to content

Commit da3ec20

Browse files
committed
Run python in the same process as eb
Use `exec` in the `eb` wrapper script to avoid creating a new process. This allows easier work with e.g. SLURM as signals send to the main process (`eb`) may not be forwarded to Easybuild (python) which results in e.g. stale locks.
1 parent a8c0cad commit da3ec20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,4 +125,4 @@ fi
125125
export EB_SCRIPT_PATH="${0}"
126126

127127
verbose "${PYTHON} -m ${EASYBUILD_MAIN} ${*}"
128-
"${PYTHON}" -m "${EASYBUILD_MAIN}" "${@}"
128+
exec "${PYTHON}" -m "${EASYBUILD_MAIN}" "${@}"

0 commit comments

Comments
 (0)