Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #102607
| Path | csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail |
|---|---|
| From | Michael Torrie <torriem@gmail.com> |
| Newsgroups | comp.lang.python |
| Subject | Re: Daemon strategy |
| Date | Sat, 6 Feb 2016 21:22:23 -0700 |
| Lines | 34 |
| Message-ID | <mailman.59.1454819465.2317.python-list@python.org> (permalink) |
| References | <CAJ4+4apHhfYBw33xVsG_dFbf9iEGfiiimh0mHCq=LGo0d96yWg@mail.gmail.com> <85d1sb9eh7.fsf@benfinney.id.au> <CAJ4+4aqwswjy4utNAZdGJPH1it2KZJF757N_GdB_xjyX_wt_gQ@mail.gmail.com> <858u2yah3d.fsf@benfinney.id.au> <CAJ4+4apUSEzi8Wm9GnEUSrNaALJ27Qb9S1ti1wWAM=CPDJfr3g@mail.gmail.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8 |
| Content-Transfer-Encoding | 8bit |
| X-Trace | news.uni-berlin.de CJgXly3lwAay8NPPVL/E+QKv/zPHCitk4BcGvXZ65T5g== |
| Return-Path | <torriem+gmail@torriefamily.org> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.015 |
| X-Spam-Evidence | '*H*': 0.97; '*S*': 0.00; 'win32': 0.03; '\xe2\x80\x94': 0.09; 'python': 0.10; '2016': 0.16; '8bit%:32': 0.16; 'from:addr:torriem': 0.16; 'from:name:michael torrie': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'subject:strategy': 0.16; 'wrote:': 0.16; 'deployment': 0.18; 'library,': 0.18; '>>>': 0.20; 'windows': 0.20; 'fairly': 0.22; 'aspect': 0.22; 'platform,': 0.22; 'am,': 0.23; 'feb': 0.23; 'unix': 0.24; 'header :In-Reply-To:1': 0.24; 'header:User-Agent:1': 0.26; 'fri,': 0.27; 'package.': 0.27; 'specify': 0.27; 'allows': 0.30; "i'm": 0.30; 'code': 0.30; 'certainly': 0.30; "can't": 0.32; 'getting': 0.33; 'url:python': 0.33; 'windows.': 0.33; 'message-id:@gmail.com': 0.34; 'requirements': 0.35; 'could': 0.35; 'possible,': 0.35; 'something': 0.35; 'but': 0.36; 'needed': 0.36; 'there': 0.36; 'tool': 0.36; 'to:addr:python-list': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'responsible': 0.37; 'received:org': 0.37; 'done.': 0.37; 'anything': 0.38; 'mean': 0.38; 'does': 0.39; 'received:192': 0.39; 'rather': 0.39; 'to:addr:python.org': 0.40; 'your': 0.60; 'telling': 0.61; 'email addr:gmail.com': 0.62; 'service.': 0.63; 'different': 0.63; 'skip:\xe2 10': 0.70; 'imagine,': 0.84; 'lacks': 0.84 |
| X-Virus-Scanned | amavisd-new at torriefamily.org |
| User-Agent | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 |
| In-Reply-To | <CAJ4+4apUSEzi8Wm9GnEUSrNaALJ27Qb9S1ti1wWAM=CPDJfr3g@mail.gmail.com> |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.21rc2 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Xref | csiph.com comp.lang.python:102607 |
Show key headers only | View raw
On 02/06/2016 09:04 AM, paul.hermeneutic@gmail.com wrote: > On Fri, Feb 5, 2016 at 4:10 PM, Ben Finney <ben+python@benfinney.id.au> wrote: >> paul.hermeneutic@gmail.com writes: >> >>> On Fri, Feb 5, 2016 at 11:52 AM, Ben Finney <ben+python@benfinney.id.au> wrote: >>>> Since MS Windows lacks those facilities, ‘python-daemon’ can't use >>>> them. >>> >>> As you might imagine, I am not always able to specify which OS is >>> deployed. That does not mean that I am not responsible for getting the >>> work done. Perhaps you will tell me that what I want is not a daemon. >> >> I'm telling you none of those. What I'm telling you is MS Windows does >> not support what is needed to make a Unix daemon. >> >> You may need to re-visit the requirements and negotiate something >> different — a different deployment platform, or something which MS >> Windows can do which is less than a proper Unix daemon. > > I fully understand that Windows is not a proper UNIX. It might be that > UNIX is not in each and every aspect a proper Windows. > > If it is possible, I would like to create one tool to do this rather > than multiple. Is there anything in Python that would help to > accomplish this goal? The fairly standard python-win32 package certainly allows you to make a proper win32 service. It's not part of the standard library, but you could ship it with your package. http://ryrobes.com/python/running-python-scripts-as-a-windows-service/ It's just not practical to have one tool that does such an OS-dependent thing. But it's not that hard to have specific code for Windows.
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Daemon strategy Michael Torrie <torriem@gmail.com> - 2016-02-06 21:22 -0700
csiph-web