2019-06-13 15:19:10 +02:00
|
|
|
#pragma once
|
|
|
|
|
#include <stdbool.h>
|
|
|
|
|
|
2019-10-30 18:05:03 +01:00
|
|
|
#include <sys/types.h>
|
|
|
|
|
|
2022-05-28 19:27:29 +02:00
|
|
|
#include "config.h"
|
2020-07-30 18:57:21 +02:00
|
|
|
#include "user-notification.h"
|
2020-07-29 19:42:12 +02:00
|
|
|
|
2019-10-30 18:05:03 +01:00
|
|
|
pid_t slave_spawn(
|
2022-04-11 12:19:40 +02:00
|
|
|
int ptmx, int argc, const char *cwd, char *const *argv, char *const *envp,
|
2022-05-28 19:27:29 +02:00
|
|
|
const env_var_list_t *extra_env_vars, const char *term_env,
|
|
|
|
|
const char *conf_shell, bool login_shell,
|
2020-07-30 18:57:21 +02:00
|
|
|
const user_notifications_t *notifications);
|