Bug 985979 - disable the crashreporter when running |mach debug|; r=gps

This commit is contained in:
Nathan Froyd 2014-03-20 10:55:50 -04:00
parent 37ef931035
commit a5ad8606cf

View File

@ -813,7 +813,7 @@ class DebugProgram(MachCommandBase):
print(e) print(e)
return 1 return 1
args = [debugger] args = [debugger]
extra_env = {} extra_env = { 'MOZ_CRASHREPORTER_DISABLE' : '1' }
if debugparams: if debugparams:
import pymake.process import pymake.process
argv, badchar = pymake.process.clinetoargv(debugparams, os.getcwd()) argv, badchar = pymake.process.clinetoargv(debugparams, os.getcwd())