diff options
author | Nalin Dahyabhai <nalin@src.gnome.org> | 2003-08-13 04:15:26 +0000 |
---|---|---|
committer | Nalin Dahyabhai <nalin@src.gnome.org> | 2003-08-13 04:15:26 +0000 |
commit | bfabf9b46cd6739d974a0ce727278951f1fedbc7 (patch) | |
tree | 8e26166e70184a2c0723a7c4dd8782ff97971fea /doc/reference/vte-sections.txt | |
parent | 99444442a83f4422ccad6d626d8983cf9667823c (diff) |
exit on any error, to avoid leaving random unreaped children running.
* src/pty.c(_vte_pty_run_on_pty): exit on any error, to avoid leaving random
unreaped children running. Accept NULL command indicating that no
exec() should occur, but still error out if command isn't NULL and
exec() fails.
* src/pty.c(_vte_pty_fork_on_pty_name,_vte_pty_fork_on_pty_fd): store 0 as the
new child's PID if we're the child.
* src/pty.c(main): don't run "tty" by default, test the forkpty() case instead.
* src/vte.c(vte_terminal_fork_command): rename to _vte_terminal_fork_basic.
Remove code to replace NULL command with the user's shell.
* src/vte.c(vte_terminal_fork_command): new (sort of)! wrap
_vte_terminal_fork_basic, replacing a NULL command with the user's
shell.
* src/vte.c(vte_terminal_forkpty),src/vte.h: new! wrap _vte_terminal_fork_basic,
passing NULL for the command and argv arguments (bug #116450).
* src/Makefile.am: update shared library version.
* doc/reference/vte-sections.txt: add vte_terminal_forkpty.
Diffstat (limited to 'doc/reference/vte-sections.txt')
-rw-r--r-- | doc/reference/vte-sections.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/reference/vte-sections.txt b/doc/reference/vte-sections.txt index c68b077..833b85c 100644 --- a/doc/reference/vte-sections.txt +++ b/doc/reference/vte-sections.txt @@ -6,6 +6,7 @@ VteTerminalEraseBinding vte_terminal_new vte_terminal_im_append_menuitems vte_terminal_fork_command +vte_terminal_forkpty vte_terminal_feed vte_terminal_feed_child vte_terminal_copy_clipboard |