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: Optional second argument for startfile
Type: Stage:
Components: Windows Versions:
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: Nosy List: georg.brandl, theller
Priority: normal Keywords: patch

Created on 2005-12-29 21:19 by theller, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
posixmodule.diff theller, 2005-12-29 21:19 Optional second arg for os.startfile on Windows
Messages (4)
msg49236 - (view) Author: Thomas Heller (theller) * (Python committer) Date: 2005-12-29 21:19
An optional second argument for os.startfile could be
used to invoke 'verbs' other than the default on a file.

For example,
  os.startfile("myfile.pdb", "print")
msg49237 - (view) Author: Thomas Heller (theller) * (Python committer) Date: 2005-12-29 21:22
Logged In: YES 
user_id=11105

I meant

  os.startfile("myfile.pdf", "print").

Sorry.
msg49238 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2006-01-20 21:46
Logged In: YES 
user_id=1188172

Seems logical and unproblematic to me.
msg49239 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2006-02-18 22:30
Logged In: YES 
user_id=1188172

Thanks! Applied the patch and updated the docs in rev. 42470.
History
Date User Action Args
2022-04-11 14:56:14adminsetgithub: 42740
2005-12-29 21:19:55thellercreate