Skip to content

Commit 81c5f21

Browse files
authored
Merge pull request #165 from nauhpc/master
Update batchspawner.py to use --chdir instead of --workdir
2 parents 8626bf3 + 8d5f286 commit 81c5f21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

batchspawner/batchspawner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -592,7 +592,7 @@ class SlurmSpawner(UserEnvMixin,BatchSpawnerRegexStates):
592592
batch_script = Unicode("""#!/bin/bash
593593
#SBATCH --output={{homedir}}/jupyterhub_slurmspawner_%j.log
594594
#SBATCH --job-name=spawner-jupyterhub
595-
#SBATCH --workdir={{homedir}}
595+
#SBATCH --chdir={{homedir}}
596596
#SBATCH --export={{keepvars}}
597597
#SBATCH --get-user-env=L
598598
{% if partition %}#SBATCH --partition={{partition}}

0 commit comments

Comments
 (0)