This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: parse windows path error in webbrowser.get() and lead to webbrowser.Error: could not locate runnable browser
Type: behavior Stage: resolved
Components: Library (Lib) Versions:
process
Status: closed Resolution: duplicate
Dependencies: Superseder: webbrowser.get(command_line) does not support Windows-style path separators
View: 22025
Assigned To: Nosy List: chainly, georg.brandl, serhiy.storchaka
Priority: normal Keywords:

Created on 2017-05-24 05:51 by chainly, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 1784 closed chainly, 2017-05-24 05:51
PR 1807 closed chainly, 2017-05-25 02:30
Messages (2)
msg294325 - (view) Author: chainly (chainly) * Date: 2017-05-24 05:51
a bug when platform is not posix, lead to
webbrowser.Error: could not locate runnable browser
see below:
import shlex
shlex.split(r'C:\a\chrome.exe', comments=False, posix=True)
['C:achrome.exe']
shlex.split(r'C:\a\chrome.exe', comments=False, posix=False)
['C:\a\chrome.exe']
msg294455 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2017-05-25 10:24
This is a duplicate of issue22025.
History
Date User Action Args
2022-04-11 14:58:46adminsetgithub: 74636
2017-07-24 01:00:19berker.peksagsetstatus: open -> closed
superseder: webbrowser.get(command_line) does not support Windows-style path separators
type: behavior
resolution: duplicate
stage: resolved
2017-05-25 10:24:38serhiy.storchakasetnosy: + georg.brandl, serhiy.storchaka
messages: + msg294455
2017-05-25 02:30:06chainlysetpull_requests: + pull_request1891
2017-05-24 05:51:58chainlycreate