Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #108312 > unrolled thread
| Started by | Ben Finney <ben+python@benfinney.id.au> |
|---|---|
| First post | 2016-05-08 11:21 +1000 |
| Last post | 2016-05-08 11:21 +1000 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: redirecting stdout and stderr to /dev/null Ben Finney <ben+python@benfinney.id.au> - 2016-05-08 11:21 +1000
| From | Ben Finney <ben+python@benfinney.id.au> |
|---|---|
| Date | 2016-05-08 11:21 +1000 |
| Subject | Re: redirecting stdout and stderr to /dev/null |
| Message-ID | <mailman.486.1462670489.32212.python-list@python.org> |
Jim Dodgen <jim@dodgen.us> writes: > I'm have problems redirecting stdout and stderr to /dev/null in a > program that does a fork and exec. You may be interested in the ‘python-daemon’ library <URL:https://pypi.python.org/pypi/python-daemon/>. It takes care of all the fiddly bits to turn your program into a well-behaved Unix daemon. -- \ “I wish there was a knob on the TV to turn up the intelligence. | `\ There's a knob called ‘brightness’ but it doesn't work.” | _o__) —Eugene P. Gallagher | Ben Finney
Back to top | Article view | comp.lang.python
csiph-web