Skip to content

Commit 0d5fe31

Browse files
committed
update python3 to python in some cases
1 parent 82c2446 commit 0d5fe31

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
@echo off
22
:: Bat script
3-
python3 %BUNDLED_DEBUGPY_PATH% --listen 0 --wait-for-client %*
3+
python %BUNDLED_DEBUGPY_PATH% --listen 0 --wait-for-client %*
Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,6 @@
11
# PowerShell script
2-
python3 $env:BUNDLED_DEBUGPY_PATH --listen 0 --wait-for-client $args
2+
if ($PSVersionTable.OS -match "Windows") {
3+
python $env:BUNDLED_DEBUGPY_PATH --listen 0 --wait-for-client $args
4+
} else {
5+
python3 $env:BUNDLED_DEBUGPY_PATH --listen 0 --wait-for-client $args
6+
}

0 commit comments

Comments
 (0)