A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2004-January/041827.html below:

[Python-Dev] The os module, unix and win32

[Python-Dev] The os module, unix and win32 [Python-Dev] The os module, unix and win32Matthew F. Barnes mfb at lotusland.dyndns.org
Thu Jan 8 22:52:21 EST 2004
Guido van Rossum said:
> How many APIs would have to be copied from win32all to enable
> implementing popen5 in Python?

As long as the possibility of copying APIs from win32all is being
entertained, would it be feasible to make os.kill do something meaningful
on Windows?

I'm no expert on Windows APIs, but it may be as simple as calling
win32api.GenerateConsoleCtrlEvent or win32api.TerminateProcess.  (Although
I seem to remember reading that killing processes externally on Windows is
something of a thorny issue.  It may corrupt the state of DLLs, or
something along those lines.)

Matthew Barnes


More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4