Bugs item #1166378, was opened at 2005-03-19 05:41 Message generated for change (Comment added) made by tzot You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1166378&group_id=5470
Category: Python Library Group: Python 2.4 Status: Open Resolution: None Priority: 5 Submitted By: Chris Palmer (chris_palmer) Assigned to: Nobody/Anonymous (nobody) Summary: No os.spawn*p* on Windows Initial Comment: You have the other spawn* functions, and exec*p*, but no spawn*p*. It exists on Linux. These functions should either exist everywhere or nowhere. ---------------------------------------------------------------------- Comment By: Christos Georgiou (tzot) Date: 2005-03-21 11:17 Message: Logged In: YES user_id=539787 This bug is *not* a bug, so it should be closed, and an entry made in RFE (Request For Enhancements) aka wishlist. Google has many pointers. See for example http://mail.python.org/pipermail/python-dev/2003-April/034473.html . Patches are welcome (either code or documentation). ---------------------------------------------------------------------- Comment By: Chris Palmer (chris_palmer) Date: 2005-03-20 22:43 Message: Logged In: YES user_id=1242303 Okay, I read the page you point to. It provides no explanation, just a statement of the fact I had already discovered. An explanation would be nice. Don't you think it's strange that these three conditions should hold: 1. os.exec*p* are supported on Windows; 2. Windows systems have a PATH environment variable with the same meaning and use as UNIX; and yet 3. os.spawn*p* are not supported on Windows? If there's some difference to how the environment is treated or used between exec* and spawn* on Windows, wouldn't it be easy to emulate the PATH-searching feature? My options are to emulate the PATH-searching feature myself and ignore os.spawn*p* on all platforms, or to use it when it's present and only emulate it on Windows. The first option is ridiculous, the second is ridiculous and ugly. If you won't emulate the spawn*p* behavior -- it's three lines of Python! -- it would help if you could at least explain why, technically. Thanks. ---------------------------------------------------------------------- Comment By: Christos Georgiou (tzot) Date: 2005-03-20 12:02 Message: Logged In: YES user_id=539787 This is documented (see http://docs.python.org/lib/os-process.html). Python lib has many places where underlying platform controls availability of functionality. Suggest closing of this bug or converting it to wishlist item. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1166378&group_id=5470 _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com