PEP idea: On Windows, subprocess should implicitly support .bat and .cmd scripts by using FindExecutable from win32 API

Ian Kelly ian.g.kelly at gmail.com
Thu May 7 11:14:34 EDT 2015


On Thu, May 7, 2015 at 8:03 AM, Chris Angelico <rosuav at gmail.com> wrote:
> On Thu, May 7, 2015 at 11:44 PM, Marko Rauhamaa <marko at pacujo.net> wrote:
>> Whole programming cultures, idioms and "right ways" differ between
>> platforms. What's the right way to write a service (daemon)? That's
>> probably completely different between Windows and Linux. Linux itself is
>> undergoing a biggish transformation there: an exemplary daemon of last
>> year will likely be deprecated within a few years.
>
> And that's where a library function can be really awesome. What's the
> right way to daemonize? "import daemonize; daemonize.daemonize()"
> seems good to me. Maybe there's platform-specific code in the
> *implementation* of that, but in your application, no. That's the job
> of a layer underneath you.

https://www.python.org/dev/peps/pep-3143/



More information about the Python-list mailing list