spawn on windows is losing my arguments

David LeBlanc whisper at oz.net
Tue Feb 11 01:36:54 CET 2003


> -----Original Message-----
> From: python-list-admin at python.org
> [mailto:python-list-admin at python.org]On Behalf Of Rene Pijlman
> Sent: Monday, February 10, 2003 15:42
> To: python-list at python.org
> Subject: Re: spawn on windows is losing my arguments
>
>
> Nigel Moriarty:
> >I use spawnv to run another Python script but on Windows where an item
> >is a space it's lost while on Linux it's retained.
> >
> >Any ideas if this a bug or feature?
>
> This behavior (removing an argument) is not documented, so I
> would say it's a bug in the Windows port, or perhaps in the
> underlying Windows libraries.
>
> --
> René Pijlman
>
> Wat wil jij leren?  http://www.leren.nl
> --

Surround args containing spaces with quotes to avoid this problem.

David LeBlanc
Seattle, WA USA






More information about the Python-list mailing list