зеркало из https://github.com/mozilla/gecko-dev.git
bug 870168 - make mach handle multiple logged-in users properly r=gps DONTBUILD (NPOTB)
This commit is contained in:
Родитель
298c09657e
Коммит
b4df2f2093
|
@ -4,6 +4,7 @@
|
|||
|
||||
from __future__ import print_function, unicode_literals
|
||||
|
||||
import getpass
|
||||
import logging
|
||||
import operator
|
||||
import os
|
||||
|
@ -189,6 +190,9 @@ class Build(MachCommandBase):
|
|||
if proc.name != 'Finder':
|
||||
continue
|
||||
|
||||
if proc.username != getpass.getuser():
|
||||
continue
|
||||
|
||||
# Try to isolate system finder as opposed to other "Finder"
|
||||
# processes.
|
||||
if not proc.exe.endswith('CoreServices/Finder.app/Contents/MacOS/Finder'):
|
||||
|
|
Загрузка…
Ссылка в новой задаче