A convenience function that wraps creating the Pty and spawning the child process on it.
Like spawn_with_fds_async, except that this function does not allow passing file descriptors to the child process. See spawn_with_fds_async for more information.
this |
a Terminal |
pty_flags |
flags from PtyFlags |
working_directory |
the name of a directory the command should start in, or |
argv |
child's argument vector |
envv |
a list of environment variables to be added to the environment before starting the process, or |
spawn_flags |
flags from SpawnFlags |
child_setup |
an extra child setup function to run in the child just before |
timeout |
a timeout value in ms, -1 for the default timeout, or G_MAXINT to wait indefinitely |
cancellable |
a Cancellable, or |
callback |
a TerminalSpawnAsyncCallback, or |
child_setup_data |
user data for |
child_setup_data_destroy |
a DestroyNotify for |
user_data |
user data for |