From 01cca5e45185474bdb3c621c5dec4bfc0b323483 Mon Sep 17 00:00:00 2001 From: Antoine Pitrou Date: Thu, 5 Jul 2012 20:56:30 +0200 Subject: Issue #15020: The program name used to search for Python's path is now "python3" under Unix, not "python". --- Python/pythonrun.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Python/pythonrun.c') diff --git a/Python/pythonrun.c b/Python/pythonrun.c index 5a96bae059..460946804d 100644 --- a/Python/pythonrun.c +++ b/Python/pythonrun.c @@ -696,7 +696,11 @@ Py_EndInterpreter(PyThreadState *tstate) PyInterpreterState_Delete(interp); } +#ifdef MS_WINDOWS static wchar_t *progname = L"python"; +#else +static wchar_t *progname = L"python3"; +#endif void Py_SetProgramName(wchar_t *pn) -- cgit v1.2.1