diff --git a/pype/ftrack/lib/ftrack_app_handler.py b/pype/ftrack/lib/ftrack_app_handler.py index 21c49e78197..f91695edf0b 100644 --- a/pype/ftrack/lib/ftrack_app_handler.py +++ b/pype/ftrack/lib/ftrack_app_handler.py @@ -259,7 +259,8 @@ def launch(self, session, entities, event): executable=execfile, args=[], environment=env ) - elif sys.platform.startswith("linux"): + elif (sys.platform.startswith("linux") + or sys.platform.startswith("darwin")): execfile = os.path.join(path.strip('"'), self.executable) if not os.path.isfile(execfile): msg = "Launcher doesn't exist - {}".format(execfile) @@ -303,7 +304,7 @@ def launch(self, session, entities, event): ) } - popen = avalonlib.launch( + popen = avalon.lib.launch( # noqa: F841 "/usr/bin/env", args=["bash", execfile], environment=env )