Make devicelab count as a bot so we can see crash logs (#7687)

This commit is contained in:
Ian Hickson
2017-01-26 20:17:40 -08:00
committed by GitHub
parent ed2be89569
commit 19d22c9726
2 changed files with 3 additions and 0 deletions

View File

@@ -165,6 +165,8 @@ Future<Process> startProcess(
}) async {
String command = '$executable ${arguments?.join(" ") ?? ""}';
print('Executing: $command');
environment ??= <String, String>{};
environment['BOT'] = 'true';
Process process = await Process.start(
executable,
arguments,