aboutsummaryrefslogtreecommitdiff
path: root/slave.h
blob: 4b47bfde80a64e9bf27e842e7ef9fb9e80342f4b (plain)
1
2
3
4
5
6
7
8
9
10
11
#pragma once
#include <stdbool.h>

#include <sys/types.h>

#include "user-notification.h"

pid_t slave_spawn(
    int ptmx, int argc, const char *cwd, char *const *argv, char *const *envp,
    const char *term_env, const char *conf_shell, bool login_shell,
    const user_notifications_t *notifications);