|
@@ -67,17 +67,19 @@ void mssh_terminal_start_session(MSSHTerminal *terminal, char **env)
|
|
args[4] = NULL;
|
|
args[4] = NULL;
|
|
}
|
|
}
|
|
|
|
|
|
- vte_terminal_spawn_sync(VTE_TERMINAL(terminal),
|
|
|
|
- VTE_PTY_NO_LASTLOG|VTE_PTY_NO_UTMP|VTE_PTY_NO_WTMP,
|
|
|
|
|
|
+ vte_terminal_spawn_async(VTE_TERMINAL(terminal), /* terminal */
|
|
|
|
+ VTE_PTY_NO_LASTLOG|VTE_PTY_NO_UTMP|VTE_PTY_NO_WTMP, /* pty_flags */
|
|
NULL, /* working dir */
|
|
NULL, /* working dir */
|
|
args,
|
|
args,
|
|
env,
|
|
env,
|
|
- G_SPAWN_SEARCH_PATH,
|
|
|
|
|
|
+ G_SPAWN_SEARCH_PATH, /* spawn flags */
|
|
NULL, /* child_setup */
|
|
NULL, /* child_setup */
|
|
NULL, /* child_setup_data */
|
|
NULL, /* child_setup_data */
|
|
- NULL, /* *child_pid */
|
|
|
|
|
|
+ NULL, /* child setup data destroy */
|
|
|
|
+ 1000, /* timeout */
|
|
NULL, /* *cancellable */
|
|
NULL, /* *cancellable */
|
|
- NULL); /* Error handling */
|
|
|
|
|
|
+ NULL, /* callback */
|
|
|
|
+ NULL); /* user data for callback */
|
|
|
|
|
|
free(args[0]);
|
|
free(args[0]);
|
|
}
|
|
}
|