Skip to content

Commit b4e6746

Browse files
authored
Merge pull request #168 from jamesgeorge007/hotfix/update-path
Update default python path for windows platform
2 parents 5f39ad4 + 9baa598 commit b4e6746

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ export class PythonShell extends EventEmitter{
8989

9090
// starting 2020 python2 is deprecated so we choose 3 as default
9191
// except for windows which just has "python" command
92-
static defaultPythonPath = process.platform != "win32" ? "python3" : "python";
92+
static defaultPythonPath = process.platform != "win32" ? "python3" : "py";
9393

9494
static defaultOptions:Options = {}; //allow global overrides for options
9595

0 commit comments

Comments
 (0)