Interactive jobs started inside Interactive Desktop don't export environment variables (Slurm)

We recently had to fix this for our Slurm cluster too at OSC

You can see here how we did it. We just set export SLURM_EXPORT_ENV=ALL in the batch_connect.before_script portion of our submit yml.