mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-04 04:06:06 -05:00
slave: prefix argv[0] with a '-' when spawning a login-shell
This commit is contained in:
parent
6af4b87ec5
commit
b5efe984bb
7 changed files with 44 additions and 13 deletions
2
slave.h
2
slave.h
|
|
@ -5,4 +5,4 @@
|
|||
|
||||
pid_t slave_spawn(
|
||||
int ptmx, int argc, const char *cwd, char *const *argv, const char *term_env,
|
||||
const char *conf_shell);
|
||||
const char *conf_shell, bool login_shell);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue