a list of environment variables to be added to the environment before starting returning in the child process, or NULL
the name of a directory the child process should change to, or NULL
TRUE if the session should be logged to the lastlog
TRUE if the session should be logged to the utmp/utmpx log
TRUE if the session should be logged to the wtmp/wtmpx log
the ID of the new process in the parent, 0 in the child, and -1 if there was an error Since 0.11.11
Warning vte_terminal_forkpty has been deprecated since version 0.26 and should not be used in newly-written code. Use VtePty and fork() instead Starts a new child process under a newly-allocated controlling pseudo-terminal. TERM is automatically set to reflect the terminal widget's emulation setting. If lastlog, utmp, or wtmp are TRUE, logs the session to the specified system log files. Note that all file descriptors except stdin/stdout/stderr will be closed in the child. Note that envv and working_directory are silently ignored.