[prev in list] [next in list] [prev in thread] [next in thread]
List: getmail
Subject: Re: A question about running a subprocess in deliver_maildir
From: "Charles Cazabon" <search-web-for-address () pyropus ! ca>
Date: 2009-03-10 3:12:51
Message-ID: 20090310031251.GA21062 () pyropus ! ca
[Download RAW message or body]
Jim Pryor <lists+getmail@jimpryor.net> wrote:
>
> Yes, you can use a string as the first argument to subprocess.Popen(), but
> what you can't do, on Linux at least, is supply a space-separated string
> containing both the command and parameters.
Indeed, thanks for the correction. I'd never tried that.
> I was puzzled why the original poster was reporting success despite
> supplying a space-separated string containing both the command and a
> parameter. I was speculating that maybe Python
> behaves differently here on OSX versus Linux.
Quite possible. OSX is buggy in a lot of areas vs. other Unices.
Charles
--
-----------------------------------------------------------------------
Charles Cazabon
GPL'ed software available at: http://pyropus.ca/software/
-----------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: getmail-unsubscribe@lists.pyropus.ca
For additional commands, e-mail: getmail-help@lists.pyropus.ca
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic