diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-12-29 19:34:37 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-12-29 19:34:37 +0100 |
commit | 9dd20e29165a44993ec64b7074b52d134f4dfcd9 (patch) | |
tree | 38e34329f76c5b296788fdd04a02eb1fb51d1631 /include | |
parent | b865f5cae3c503be65ce55b58fae09589cff3b0f (diff) |
Revert "Change name of flatpak systemd service"
This reverts commit b865f5cae3c503be65ce55b58fae09589cff3b0f.
Diffstat (limited to 'include')
-rw-r--r-- | include/Process.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/Process.hpp b/include/Process.hpp index 6fd8c31..9662126 100644 --- a/include/Process.hpp +++ b/include/Process.hpp @@ -17,5 +17,9 @@ namespace gsr { pid_t exec_program(const char **args, int *read_fd); // Arguments ending with NULL. Returns the exit status of the program or -1 on error int exec_program_get_stdout(const char **args, std::string &result); + // Arguments ending with NULL. Returns the exit status of the program or -1 on error. + // This works the same as |exec_program_get_stdout|, except on flatpak where this runs the program on the + // host machine with flatpak-spawn --host + int exec_program_on_host_get_stdout(const char **args, std::string &result); pid_t pidof(const char *process_name); }
\ No newline at end of file |