소스 검색

add debug out for command line args

Steven Silvester 4 년 전
부모
커밋
4a1b78cc1a
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  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)