Author eric.araujo
Recipients benjamin.peterson, cool-RR, cvrebert, eric.araujo, ganadist, giampaolo.rodola, rosslagerwall
Date 2011-07-13.15:39:33
SpamBayes Score 3.62947e-07
Marked as misclassified No
Message-id <1310571574.53.0.696168381056.issue3177@psf.upfronthosting.co.za>
In-reply-to
Content
I’m not sure we want to copy the Windows startfile call for other OSes.  The os module is designed to wrap system-level calls, masking OS differences (for sendfile, for example) but not going further; it’s up to other modules (like shutil) to build more convenient APIs on top of what os provides.  xdg-open is a program that’s used to open files or URIs, but it does not provide other actions like Windows’ startfile does (edit, print, etc.), not is it backed by a system call.  For these reasons, I think it’s inappropriate to implement os.startfile for non-Windows systems.  People can use subprocess to run open or xdg-open.
History
Date User Action Args
2011-07-13 15:39:34eric.araujosetrecipients: + eric.araujo, giampaolo.rodola, benjamin.peterson, ganadist, cvrebert, cool-RR, rosslagerwall
2011-07-13 15:39:34eric.araujosetmessageid: <1310571574.53.0.696168381056.issue3177@psf.upfronthosting.co.za>
2011-07-13 15:39:33eric.araujolinkissue3177 messages
2011-07-13 15:39:33eric.araujocreate