Commit d819ad9
authored
On macOS, SuppressCrashReport now redirects /usr/bin/defaults command
stderr into a pipe to not pollute stderr. It fixes a
test_io.test_daemon_threads_shutdown_stderr_deadlock() failure when
the CrashReporter domain doesn't exists. Message logged into stderr:
2017-04-24 16:57:21.432 defaults[41046:2462851]
The domain/default pair of (com.apple.CrashReporter, DialogType) does not exist
1 parent 08c1601 commit d819ad9
1 file changed
+9
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2447 | 2447 | | |
2448 | 2448 | | |
2449 | 2449 | | |
| 2450 | + | |
2450 | 2451 | | |
2451 | 2452 | | |
2452 | 2453 | | |
2453 | 2454 | | |
2454 | 2455 | | |
2455 | 2456 | | |
2456 | 2457 | | |
2457 | | - | |
2458 | | - | |
2459 | | - | |
2460 | | - | |
| 2458 | + | |
| 2459 | + | |
| 2460 | + | |
| 2461 | + | |
| 2462 | + | |
| 2463 | + | |
| 2464 | + | |
| 2465 | + | |
2461 | 2466 | | |
2462 | 2467 | | |
2463 | 2468 | | |
| |||
0 commit comments