.. and there’s a change in the latest release! See https://www.barebones.com/support/bbedit/notes-12.6.5.html for the full release notes!
> • When using a "Run" command for a file with a #! line, BBEdit will no longer > attempt to run the file using the appropriate interpreter for the language > (e.g. Python), and will instead ask the shell to run it directly. Thus, > running a file like this: > > #!/usr/bin/env python > > import sys > > print(sys.version) > > will behave identically to using "Run In Terminal," and thus will always run > the script using whatever python the system would have used on the command > line. > > On the other hand, if you omit the #! line: > > import sys > > print(sys.version) > > Then BBEdit will make its best guess as to which python to use, based on the > previously documented rules. > > Note: BBEdit will only run the file directly using the shell when using the > "Run" (or "Run with Options") or "Run in Terminal" commands. When using > "Check Syntax" or "Run in Debugger", BBEdit will continue to use its best > guess for the language interpreter. > > This behavior is controlled by an expert preference. To force BBEdit to > ignore the #! line: > > defaults write com.barebones.bbedit AlwaysUseShebangLineForWindowRun -bool NO :-) Thanks everyone at BareBones.. > On 9-June-2019, at 12:26 PM, Christopher Stone <[email protected]> > wrote: > > On 06/07/2019, at 18:31, Jon Crump <[email protected]> wrote: >> Fortunately, BBEdit doesn't have to read my mind. It only has to read my >> script. My intentions are explicit right there at the top of each one. > > Hey Folks, > > Jeepers; somehow I missed this in release notes gone by... > > A programming editor that refuses to run the code it's given to run is highly > problematic. > > While I'm completely sympathetic to the technical challenges the developers > have to endure, it seems to me this is one place where there should be a > compromise... > > -- > Best Regards, > Chris > > > -- > This is the BBEdit Talk public discussion group. If you have a > feature request or need technical support, please email > "[email protected]" rather than posting to the group. > Follow @bbedit on Twitter: <https://www.twitter.com/bbedit> > --- > You received this message because you are subscribed to the Google Groups > "BBEdit Talk" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/bbedit. > To view this discussion on the web visit > https://groups.google.com/d/msgid/bbedit/ECD1C2A8-81E4-41DD-B930-BD0DF38CC1E9%40suddenlink.net. -- This is the BBEdit Talk public discussion group. If you have a feature request or need technical support, please email "[email protected]" rather than posting to the group. Follow @bbedit on Twitter: <https://www.twitter.com/bbedit> --- You received this message because you are subscribed to the Google Groups "BBEdit Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/bbedit. To view this discussion on the web visit https://groups.google.com/d/msgid/bbedit/06AA6801-4451-4F6A-A9BF-0BE8D72023CB%40gmail.com.
