Re: redirecting stdout and stderr to /dev/null

2016-05-07 Thread Jim Dodgen
Great help. My Python program is a rewrite of a Perl program I wrote. An interesting exercise. The reason being it is targeted for a Raspberry Pi and for the Pi Python has the most support. *Jim Dodgen* On Sat, May 7, 2016 at 6:38 PM, Ben Finney wrote: > Chris Angelico wri

Re: redirecting stdout and stderr to /dev/null

2016-05-07 Thread Jim Dodgen
Thanks Chris I now have things working using a version 3.4.3 it finds subprocess.DEVNULL just fine *Jim Dodgen* On Sat, May 7, 2016 at 5:10 PM, Chris Angelico wrote: > On Sun, May 8, 2016 at 9:54 AM, Jim Dodgen wrote: > > The empty token is needed but useless, it is arg[0] mo

Re: redirecting stdout and stderr to /dev/null

2016-05-07 Thread Jim Dodgen
*Thanks for the help* On Sat, May 7, 2016 at 12:16 PM, Martin A. Brown wrote: > > Hello there, > > >I'm new to python but well versed on other languages such as C and > >Perl > > > >I'm have problems redirecting stdout and stderr to /dev/null in a > >program that does a fork and exec. T found

redirecting stdout and stderr to /dev/null

2016-05-07 Thread Jim Dodgen
004ms rtt min/avg/max/mdev = 1.002/1.114/1.361/0.136 ms root@dev:/home/jim# *Jim Dodgen* -- https://mail.python.org/mailman/listinfo/python-list