Date: Thu, 5 Sep 2024 18:26:57 -0700 From: bob prohaska <fbsd@www.zefox.net> To: "Steve O'Hara-Smith" <steve@sohara.org> Cc: Michael Stiller <mstiller@me.com>, freebsd-arm@freebsd.org Subject: Re: Path puzzle Message-ID: <ZtpaYRS5CN6CI6Wi@www.zefox.net> In-Reply-To: <20240905194723.aadc33be10a168e8c7d0c455@sohara.org> References: <Ztn3cv50nFDqWAme@www.zefox.net> <105EB88C-1438-4BC6-9561-A92B82743AA2@me.com> <Ztn6UmtXcImSvoDh@www.zefox.net> <20240905194723.aadc33be10a168e8c7d0c455@sohara.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Sep 05, 2024 at 07:47:23PM +0100, Steve O'Hara-Smith wrote: > On Thu, 5 Sep 2024 11:37:06 -0700 > bob prohaska <fbsd@www.zefox.net> wrote: > > > bob@pelorus:~ % head server_try > > #!/usr/bin/python3.11 > > Bingo! On FreeBSD python3.11 will be in /usr/local/bin not /usr/bin. > > This is why the recommended shebang for python code is > > #!/usr/bin/env python3.11 > > Which is portable. Thank you....never crossed my mind to check the executable location 8-( It turns out that the python code being run (from https://gitlab.com/ldo/ssl_try_python) works on Debian Linux Bookworm but not on FreeBSD stable/14.1. Is there a guide to differences between the dialects? Apologies for the noise..... bob prohaska > > -- > Steve O'Hara-Smith <steve@sohara.org>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ZtpaYRS5CN6CI6Wi>