File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -156,6 +156,12 @@ def _req_keepvars_default(self):
156
156
"Must include {cmd} which will be replaced with the jupyterhub-singleuser command line."
157
157
).tag (config = True )
158
158
159
+ batchspawner_wrapper = Unicode ('batchspawner-singleuser' ,
160
+ help = "A wrapper which is capable of special batchspawner setup: currently sets the port on "
161
+ "the remote host. Not needed to be set under normal circumstances, unless path needs "
162
+ "specification."
163
+ ).tag (config = True )
164
+
159
165
# Raw output of job submission command unless overridden
160
166
job_id = Unicode ()
161
167
@@ -188,7 +194,7 @@ def parse_job_id(self, output):
188
194
189
195
def cmd_formatted_for_batch (self ):
190
196
"""The command which is substituted inside of the batch script"""
191
- return ' ' .join ([ 'batchspawner-singleuser' ] + self .cmd + self .get_args ())
197
+ return ' ' .join (self . batchspawner_wrapper + self .cmd + self .get_args ())
192
198
193
199
@gen .coroutine
194
200
def run_command (self , cmd , input = None , env = None ):
You can’t perform that action at this time.
0 commit comments