mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
This is used when spawning the slave, to set its current working directory just before we exec() the client. In a regular foot instance, we set the cwd from getcwd(). In a foot server instance, each connecting client sends its cwd to the server, and we use that.
8 lines
189 B
C
8 lines
189 B
C
#pragma once
|
|
#include <stdbool.h>
|
|
|
|
#include <sys/types.h>
|
|
|
|
pid_t slave_spawn(
|
|
int ptmx, int argc, const char *cwd, char *const *argv, const char *term_env,
|
|
const char *conf_shell);
|