Skip to content

Commit c901e71

Browse files
authored
Update README.md
Update documentation because python3 is now the default pythonPath. Add Windows default value. [Link](https://github.com/extrabacon/python-shell/blob/f3b64d3307d8dc15eb9c071d8aa774c1e7d5b2d7/index.ts#L94) to relevant line.
1 parent f3b64d3 commit c901e71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ Creates an instance of `PythonShell` and starts the Python process
170170
* `parser`: each line of data (ending with "\n") is parsed with this function and its result is emitted as a message
171171
* `stderrParser`: each line of logs (ending with "\n") is parsed with this function and its result is emitted as a message
172172
* `encoding`: the text encoding to apply on the child process streams (default: "utf8")
173-
* `pythonPath`: The path where to locate the "python" executable. Default: "python"
173+
* `pythonPath`: The path where to locate the "python" executable. Default: "python3" ("py" for Windows)
174174
* `pythonOptions`: Array of option switches to pass to "python"
175175
* `scriptPath`: The default path where to look for scripts. Default is the current working directory.
176176
* `args`: Array of arguments to pass to the script

0 commit comments

Comments
 (0)