Add entry to catch SwitchBoard.app in killStupidProcesses

The existing entry to kill off SwitchBoard.app being launched in the loginwindow context did not always work. Adding "/bin/bash /Library/Application Support/Adobe/SwitchBoard/SwitchBoard.app/Contents/MacOS/switchboard.sh" resolves this issue.
This commit is contained in:
Pepijn Bruienne
2014-09-26 12:55:47 -04:00
parent 928683d76e
commit c76fc99d6d
+2 -1
View File
@@ -475,7 +475,8 @@ def killStupidProcesses():
stupid_processes = ["Adobe AIR Installer",
"Adobe AIR Application Installer",
"InstallAdobeHelp",
"open -a /Library/Application Support/Adobe/SwitchBoard/SwitchBoard.app"]
"open -a /Library/Application Support/Adobe/SwitchBoard/SwitchBoard.app",
"/bin/bash /Library/Application Support/Adobe/SwitchBoard/SwitchBoard.app/Contents/MacOS/switchboard.sh"]
for procname in stupid_processes:
pid = utils.getPIDforProcessName(procname)