should these be fixed for python 2.4?

"Martin v. Löwis" martin at v.loewis.de
Sat Oct 2 05:42:35 EDT 2004


Alexander Schmolck wrote:
> OK, but let me say that this is *not* obvious -- it is difficult to find in
> the docs (I don't really want to spawn anything and it's burried amongst a
> zillion cryptically named similar functions with a complex interface) and
> difficult to use.

I fail to see the last point. What you proposed is equally difficult to
use. And yes, you do want to spawn a new process.

> So I think many (most?) people will use os.system instead and in a way that is
> broken. If changing system is a bad idea, how about introducing a convenience
> function or adding a note to the os.system docs?

Adding notes to documentation is always possible. I don't see the point
of adding a convenience function, because os.spawn* is already there.

Regards,
Martin



More information about the Python-list mailing list