diff options
author | dec05eba <dec05eba@protonmail.com> | 2025-01-04 02:30:14 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2025-01-04 02:30:14 +0100 |
commit | f4dc07729938b53f94cc7410b2f1c6f5741636fb (patch) | |
tree | 0f42065d83a993f825a475015932ecdd497d8304 /include/Process.hpp | |
parent | 36c7bbfda38d93c01b05d453276295ead289ea0e (diff) |
pidof ignore self
Diffstat (limited to 'include/Process.hpp')
-rw-r--r-- | include/Process.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/Process.hpp b/include/Process.hpp index 9662126..072ef58 100644 --- a/include/Process.hpp +++ b/include/Process.hpp @@ -21,5 +21,5 @@ namespace gsr { // 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); + pid_t pidof(const char *process_name, pid_t ignore_pid); }
\ No newline at end of file |