This commit is contained in:
parent
faa23169cd
commit
c1579f928a
@ -1,11 +0,0 @@
|
||||
--- 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);
|
Loading…
Reference in New Issue
Block a user