diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2024-07-25 16:32:57 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2024-07-25 16:32:57 +0000 |
| commit | a213e14ca35e73a1f353ae97f2e398d145e19f69 (patch) | |
| tree | fb1624e20a7380b18621259d3c9d5913083176ac /spawn.h | |
| parent | input: allow mouse selections to start inside the margins (diff) | |
| parent | osc+notify: strcmp() -> streq() (diff) | |
Merge branch 'kitty-notifications'
Diffstat (limited to 'spawn.h')
| -rw-r--r-- | spawn.h | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -1,12 +1,14 @@ #pragma once #include <stdbool.h> +#include <unistd.h> + #include "config.h" #include "reaper.h" -bool spawn(struct reaper *reaper, const char *cwd, char *const argv[], - int stdin_fd, int stdout_fd, int stderr_fd, - const char *xdg_activation_token); +pid_t spawn(struct reaper *reaper, const char *cwd, char *const argv[], + int stdin_fd, int stdout_fd, int stderr_fd, + reaper_cb cb, void *cb_data, const char *xdg_activation_token); bool spawn_expand_template( const struct config_spawn_template *template, |
