- sbatch --wait, but then SIGTERM'ing the process doesn't kill the job
- salloc, but that requires a TTY process to control it (?)
- salloc srun seems to mess with the terminal when it's killed, likely because of being "designed to be executed in the foreground"
- Plain srun re-uses the existing Slurm allocation, and specifying resources like --mem will just request then from the current job rather than submitting a new one
What is the best solution here?