Sfoglia il codice sorgente

add debug out for command line args

Steven Silvester 4 anni fa
parent
commit
4a1b78cc1a
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  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)