aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/wins.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wins.c b/src/wins.c
index cdb6f5b..5b2568f 100644
--- a/src/wins.c
+++ b/src/wins.c
@@ -626,7 +626,7 @@ wins_launch_external (const char *file, const char *cmd)
int pid;
wins_prepare_external ();
- if ((pid = fork_exec (NULL, NULL, cmd, arg)))
+ if ((pid = shell_exec (NULL, NULL, *arg, arg)))
child_wait (NULL, NULL, pid);
wins_unprepare_external ();
}