From 9baa598beb0a5c8409bf61907a5ec3bc3d176162 Mon Sep 17 00:00:00 2001 From: James George Date: Fri, 28 Dec 2018 12:25:32 +0530 Subject: [PATCH] update python path for windows platform :rocket: --- index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.ts b/index.ts index c91f7f7..b1c50ec 100644 --- a/index.ts +++ b/index.ts @@ -89,7 +89,7 @@ export class PythonShell extends EventEmitter{ // starting 2020 python2 is deprecated so we choose 3 as default // except for windows which just has "python" command - static defaultPythonPath = process.platform != "win32" ? "python3" : "python"; + static defaultPythonPath = process.platform != "win32" ? "python3" : "py"; static defaultOptions:Options = {}; //allow global overrides for options