Explorar el Código

add debug out for command line args

Steven Silvester hace 4 años
padre
commit
4a1b78cc1a
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      binder/start

+ 3 - 0
binder/start

@@ -6,4 +6,7 @@ import os
 argv = sys.argv[1:] + ['--config', 'binder/jupyter_notebook_config.py']
 print(argv)
 
+with open('startup_args.txt', 'w') as fid:
+    fid.write(str(argv))
+
 os.execv(shutil.which(argv[0]), argv)