|
static void launch_crash_reporter(const String& coredump_path, bool unlink_after_use)
|
|
static void launch_crash_reporter(const String& coredump_path, bool unlink_after_use)
|
|
- const char* argv[] = { "CrashReporter", coredump_path.characters(), unlink_after_use ? "--unlink" : nullptr, nullptr, nullptr };
|
|
|
|
if ((errno = posix_spawn(&child, "/bin/CrashReporter", nullptr, nullptr, const_cast<char**>(argv), environ))) {
|
|
if ((errno = posix_spawn(&child, "/bin/CrashReporter", nullptr, nullptr, const_cast<char**>(argv), environ))) {
|