summaryrefslogtreecommitdiffstats
path: root/PCbuild9/idle.bat
diff options
context:
space:
mode:
Diffstat (limited to 'PCbuild9/idle.bat')
-rw-r--r--PCbuild9/idle.bat15
1 files changed, 15 insertions, 0 deletions
diff --git a/PCbuild9/idle.bat b/PCbuild9/idle.bat
new file mode 100644
index 0000000..dcb0485
--- /dev/null
+++ b/PCbuild9/idle.bat
@@ -0,0 +1,15 @@
+@echo off
+rem start idle
+rem Usage: idle [-d]
+rem -d Run Debug build (python_d.exe). Else release build.
+
+setlocal
+set exe=python
+PATH %PATH%;..\..\tcltk\bin
+
+if "%1"=="-d" (set exe=python_d) & shift
+
+set cmd=%exe% ../Lib/idlelib/idle.py %1 %2 %3 %4 %5 %6 %7 %8 %9
+
+echo on
+%cmd%