Use custom process library for notifications

Instead of using Boost.Process here. Last usage of Boost.Process is for
launching the child process.
This commit is contained in:
Robbert van der Helm
2022-04-11 14:55:22 +02:00
parent b80a30ba2a
commit a324042695
3 changed files with 48 additions and 22 deletions
+8 -1
View File
@@ -164,7 +164,14 @@ class Process {
* non-zero exit code. Uses `posix_spawn()`, leaves file descriptors in
* tact.
*/
StringResult spawn_get_stdout_line();
StringResult spawn_get_stdout_line() const;
/**
* Spawn the process, leave STDOUT, STDIN and STDERR alone, and return an
* empty string if the program ran successfully. Uses `posix_spawn()`,
* leaves file descriptors in tact.
*/
StatusResult spawn_get_status() const;
private:
/**