[issue39580] Check for COMMAND_LINE_INSTALL variable in Python_Documentation.pkg

Rick Heil report at bugs.python.org
Wed May 20 15:31:22 EDT 2020


Rick Heil <frederickheil at frederickheil.com> added the comment:

In case folks reading this are not aware, installer(8) sets an environmental variable COMMAND_LINE_INSTALL when an installation is triggered on the command line versus when a user double-clicks a package in the GUI to kick off the install.

I've filed the linked PR to add a test on the APPDIR open statement to avoid popping up the Finder when the package is installed on the command line. If there's a different method by which I should do this, please point me in the vague direction and I'm happy to update!

(note - I just signed the CLA today so it should be registered soonish)

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39580>
_______________________________________


More information about the Python-bugs-list mailing list