• Tim Peters's avatar
    Implemented new os.startfile function, unique to Windows, exposing a · f58a7aaf
    Tim Peters yazdı
    subset of Win32 ShellExecute's functionality.  Guido wants this because
    IDLE's Help -> Docs function currently crashes his machine because of a
    conflict between his version of Norton AntiVirus (6.10.20) and MS's
    _popen.  Docs for startfile are being mailed to Fred (or just read the
    docstring -- it tells the whole story).
    Changed webbrowser.py to use os.startfile instead of os.popen on Windows.
    Changed IDLE's EditorWindow.py to pass an absolute path for the docs
    (hardcoding ShellExecute's "directory" arg to "." as used to be done let
    IDLE work, but made the startfile command exceedingly obscure for other
    uses -- the MS docs are terrible, of course, & still not sure I
    understand it).
    Note that Windows Python must link with shell32.lib now!  That's where
    ShellExecute lives.
    f58a7aaf
Adı
Son kayıt (commit)
Son güncelleme
BeOS Loading commit data...
Demo Loading commit data...
Doc Loading commit data...
Grammar Loading commit data...
Include Loading commit data...
Lib Loading commit data...
Mac Loading commit data...
Misc Loading commit data...
Modules Loading commit data...
Objects Loading commit data...
PC Loading commit data...
PCbuild Loading commit data...
Parser Loading commit data...
Python Loading commit data...
Tools Loading commit data...
.cvsignore Loading commit data...
.hgtags Loading commit data...
LICENSE Loading commit data...
Makefile.in Loading commit data...
README Loading commit data...
acconfig.h Loading commit data...
config.h.in Loading commit data...
configure Loading commit data...
configure.in Loading commit data...
install-sh Loading commit data...