docs.
If the view parameter is NULL, no view will switch to the output.
But, when I set the view parameter to NULL, I get a segfault on linux. Is there anything I did not understand ?
1 | app->exec_system_command(app, &view, buffer_identifier("*compilation*")), ".", 1, cmd, cmd_len, 0); |
is perfectly fine, but
1 | app->exec_system_command(app, nullptr, buffer_identifier("*compilation*")), ".", 1, cmd, cmd_len, 0); |
crashes.