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

Barry Scott barry at barrys-emacs.org
Fri Jan 9 15:12:46 EST 2004

I've got code that implements the popen5 like functionality in my Emacs
do you to look it over? Its based on sample code from microsoft.
In http://www.barrys-emacs.org/bemacs_7.2-230.win32_proc_code.zip
you will find the C++ modules.

I can guess from your API list that what you have will probably not
work from pythonw, I recall that you need to call AllocConsole for
example have play games with std handles.


At 08-01-2004 22:31, Peter Astrand wrote:
> > > win32all covers a huge number of API functions, more then would
> > > be sane to add to os. But would there be any mileage in added
> > > enough from win32all to allow problems like popen5 to be
> > > implemented?
> > >
> > > There is already the _reg module that has some win32 functions in
> > > it on the standard install.
> >
> > (Not sure if this was in response to my "let's do it in Python" post.)
> >
> > How many APIs would have to be copied from win32all to enable
> > implementing popen5 in Python?
>I'm not sure since I haven't implemented much yet, but we'll need at
>/Peter Åstrand <astrand at lysator.liu.se>
>Python-Dev mailing list
>Python-Dev at python.org

More information about the Python-Dev mailing list