Date: Wed, 10 Jun 2015 17:23:35 -0400 From: Robert Simmons <rsimmons0@gmail.com> To: freebsd-python@freebsd.org Subject: Re: Python Subprocess Crontab Problem Message-ID: <CA%2BQLa9C8nUR6yrZWXF5kauUGmMbQbnmcom8FCzcrQ-02ZBxfEQ@mail.gmail.com> In-Reply-To: <CAG=rPVdkzy%2BK1KV2AP4O-j-4UqoPz5pLrQX7u9NJkEuuqQ5eqA@mail.gmail.com> References: <CA%2BQLa9BjC=M-5wxA0gzoTJO1xHL9XbhpTN10QhhrdCG9bxf3Lg@mail.gmail.com> <CAG=rPVdkzy%2BK1KV2AP4O-j-4UqoPz5pLrQX7u9NJkEuuqQ5eqA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jun 10, 2015 at 5:02 PM, Craig Rodrigues <rodrigc@freebsd.org> wrote: > Can you add right here: > print("PATH: %s" % os.environ['PATH'], file=errors) > > and see what the PATH is in your errors file? I should have mentioned that I'm using python3. The above is causing a TypeError: TypeError: 'str' does not support the buffer interface
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BQLa9C8nUR6yrZWXF5kauUGmMbQbnmcom8FCzcrQ-02ZBxfEQ>