12 lines
600 B
Diff
12 lines
600 B
Diff
|
--- a/src/lxterminal.c
|
||
|
+++ b/src/lxterminal.c
|
||
|
@@ -766,7 +766,7 @@ static Term *terminal_new(LXTerminal *te
|
||
|
if (exec) {
|
||
|
gchar **command;
|
||
|
g_shell_parse_argv(exec, NULL, &command, NULL);
|
||
|
- term->pid = vte_terminal_fork_command(VTE_TERMINAL(term->vte), (const char *)*(command), command, env, "/tmp", FALSE, TRUE, TRUE);
|
||
|
+ term->pid = vte_terminal_fork_command(VTE_TERMINAL(term->vte), (const char *)*(command), command, env, pwd, FALSE, TRUE, TRUE);
|
||
|
g_strfreev(command);
|
||
|
} else {
|
||
|
term->pid = vte_terminal_fork_command(VTE_TERMINAL(term->vte), NULL, NULL, env, pwd, FALSE, TRUE, TRUE);
|