File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -71,14 +71,17 @@ class JupyterServer {
71
71
}
72
72
this . _info . token = randomBytes ( 24 ) . toString ( 'hex' ) ;
73
73
74
+ // note: traitlets<5.0 require fully specified arguments to
75
+ // be followed by equals sign without a space; this can be
76
+ // removed once jupyter_server requires traitlets>5.0
74
77
this . _nbServer = execFile ( this . _info . environment . path , [
75
78
'-m' , 'jupyterlab' ,
76
79
'--no-browser' ,
77
80
// do not use any config file
78
- '--JupyterApp.config_file_name' , ' ',
81
+ '--JupyterApp.config_file_name="" ' ,
79
82
// use our token rather than any pre-configured password
80
- '--ServerApp.password' , ' ',
81
- '--ServerApp.allow_origin' , '* '
83
+ '--ServerApp.password="" ' ,
84
+ '--ServerApp.allow_origin="*" '
82
85
] , {
83
86
cwd : home ,
84
87
env : {
You can’t perform that action at this time.
0 commit comments