I. PROBLEM DESCRIPTION:
I'm looking for a freelancer to fix an old bug in the latest Thunderbird (60.3.1) on MacOS High Sierra (and Mojave) which prevents me from using this email client in my work flow. Basically the problem is that you cannot send command line options to a running instance of Thunderbird on MacOS. Lets look at the following command:
"open /Applications/[login to view URL] --args -compose to=me@[login to view URL]".
This will open a Thunderbird compose window only if [login to view URL] is not already running! Once Thunderbird is started the very same command will only result in Thunderbird window getting the window focus. The problem may be related to argument passing of the 'open' command because a single file argument works with the '-a' option:
1) always works: "open -a /Applications/[login to view URL] EMLFILE";
2) only works when Thunderbird is not running: "open /Applications/[login to view URL] --args EMLFILE".
Your patch works with the latest Mozilla Thunderbird on MacOS High Sierra. Pushing it into the official Thunderbird repository will probably be a follow on project.
a) [login to view URL]
b) [login to view URL]
Two additional examples (that work only if Thunderbird is not already running):
open /Applications/Thunderbird.app --args \
open /Applications/Thunderbird.app --args -thunderlink \
BTW: Thunderlink is an Thunderbird addon (just used as example but not relevant for this project).