aboutsummaryrefslogtreecommitdiffhomepage
path: root/exec.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'exec.cpp')
-rw-r--r--exec.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/exec.cpp b/exec.cpp
index 4f86d981..031914d2 100644
--- a/exec.cpp
+++ b/exec.cpp
@@ -554,7 +554,7 @@ static void launch_process( process_t *p )
res[i+1] = 0;
p->set_argv(res);
- p->actual_cmd = sh_command;
+ p->actual_cmd = wcsdup(sh_command);
res_real = wcsv2strv( (const wchar_t **) res);