the name of a directory the command should start in, or null to use the current working directory
child's argument vector
a list of environment variables to be added to the environment before starting the process, or null
flags from #GSpawnFlags
an extra child setup function to run in the child just before exec(), or null
a timeout value in ms, -1 for the default timeout, or G_MAXINT to wait indefinitely
a #GCancellable, or null
a #GAsyncReadyCallback, or null
Like vte.pty.Pty.spawnWithFdsAsync, except that this function does not allow passing file descriptors to the child process. See vte.pty.Pty.spawnWithFdsAsync for more information.