Jared 2 years ago
parent
commit
058caf583e
1 changed files with 15 additions and 0 deletions
  1. 15 0
      docs/dev/wsl.md

+ 15 - 0
docs/dev/wsl.md

@@ -0,0 +1,15 @@
+# WSL 呼叫 windows python 程式
+
+透過 cmd.exe 來執行程式
+
+```
+ /mnt/c/Windows/System32/cmd.exe /C echo test
+```
+
+
+執行python
+
+```
+ /mnt/c/Windows/System32/cmd.exe /C python c:/gitlab/xxxx.py
+```
+