[Python-Dev] subprocess insufficiently platform-independent? (original) (raw)
Guido van Rossum guido at python.org
Mon Aug 25 19:34:09 CEST 2008
- Previous message: [Python-Dev] subprocess insufficiently platform-independent?
- Next message: [Python-Dev] subprocess insufficiently platform-independent?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Mon, Aug 25, 2008 at 10:30 AM, Barry Warsaw <barry at python.org> wrote:
Unless I'm misremembering (I no longer have access to Windows), I believe that if you use ' '.join(cmd) as the first argument, it will work cross-platform.
That will mean something different if there are spaces or shell metacharacters in the arguments.
-- --Guido van Rossum (home page: http://www.python.org/~guido/)
- Previous message: [Python-Dev] subprocess insufficiently platform-independent?
- Next message: [Python-Dev] subprocess insufficiently platform-independent?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]