[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: POpen3/POpen4 on Win32

From: <cmpilato_at_collab.net>
Date: 2002-01-22 17:56:02 CET

"Bill Tutt" <rassilon@lyra.org> writes:

> Well, yes that's true with the popen2 module and the Popen3 and Popen4
> classes, but close() on the file object returned from the Win32
> os.popen*() variants should always return the exit code of the child
> process.

Hmm...that's a good thought.

> Do our test cases need poll() on POpen3/POpen4, or is just retrieving
> the exit code good enough? If we need something more flexible like
> POpen3/POpen4, maybe I can code up a Python version of the code that
> does the required footwork on Win32.

My only real concern is SEGFAULT detection. To that extent, whatever
works. Subversion doesn't make a habit of silently failing about much
of anything, so we can always check stderr for non-fatal failures.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:58 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.