Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #102592
| From | paul.hermeneutic@gmail.com |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: Daemon strategy |
| Date | 2016-02-06 09:13 -0700 |
| Message-ID | <mailman.47.1454775255.2317.python-list@python.org> (permalink) |
| References | <CAJ4+4apHhfYBw33xVsG_dFbf9iEGfiiimh0mHCq=LGo0d96yWg@mail.gmail.com> <85d1sb9eh7.fsf@benfinney.id.au> <CAHi-6hG5L3=rAJ7yOCKHB4TJezrta9j16GX9NrkDaJ3mfX+hLw@mail.gmail.com> |
> As Ben already said .. either deploy to Unix systems or use > subprocess.Popen and detach the process: > > from subprocess import Popenfrom win32process import DETACHED_PROCESS > Popen(["YOURPROCESS"],creationflags=DETACHED_PROCESS,shell=True) This sounds promising. What are the common methods to communicate with the subprocess? I need to query the status and change some settings for the running process?
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Daemon strategy paul.hermeneutic@gmail.com - 2016-02-06 09:13 -0700
csiph-web