aboutsummaryrefslogtreecommitdiff
path: root/include/Process.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-11-28 15:11:50 +0100
committerdec05eba <dec05eba@protonmail.com>2024-11-28 15:11:50 +0100
commit2ea0a921e8d0c100d5f894536a93f0dfdf45f67b (patch)
tree1f50796f39afc11b6c4e5ba948175b27ad0734a1 /include/Process.hpp
parentece3d02e0a34d7a90d3e3d21fc426f4954ddfe86 (diff)
Fix restore portal session option not working, close other notifications when showing a new one
Diffstat (limited to 'include/Process.hpp')
-rw-r--r--include/Process.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/Process.hpp b/include/Process.hpp
index 125a880..731062e 100644
--- a/include/Process.hpp
+++ b/include/Process.hpp
@@ -12,8 +12,8 @@ namespace gsr {
// Arguments ending with NULL
bool exec_program_daemonized(const char **args);
- // Arguments ending with NULL
- pid_t exec_program(const char **args);
+ // Arguments ending with NULL. |read_fd| can be NULL
+ pid_t exec_program(const char **args, int *read_fd);
// |output_buffer| should be at least PATH_MAX in size
bool read_cmdline_arg0(const char *filepath, char *output_buffer);
} \ No newline at end of file