add logger for config errors and <core><errorCommand> to display it.

This commit is contained in:
elviosak 2026-05-14 06:21:21 -03:00
parent 477b3b1ddb
commit 4efb63f7da
10 changed files with 233 additions and 11 deletions

View file

@ -22,6 +22,19 @@ void spawn_async_no_shell(char const *command);
*/
void spawn_sync_no_shell(char const *command);
/**
* spawn_piped_async_no_shell - execute asynchronously
* @command: command to be executed
* @pipe_fd_w: set to the write end of a pipe
* connected to stdin of the command
* Notes:
* The returned pid_t has to be waited for to
* not produce zombies and the pipe_fd_w has to
* be closed. spawn_piped_close() can be used
* to ensure both.
*/
pid_t spawn_piped_async_no_shell(const char *command, int *pipe_fd_w);
/**
* spawn_piped - execute asynchronously
* @command: command to be executed