aboutsummaryrefslogtreecommitdiff
path: root/pd/src/t_tkcmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'pd/src/t_tkcmd.c')
-rw-r--r--pd/src/t_tkcmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pd/src/t_tkcmd.c b/pd/src/t_tkcmd.c
index 31c39b52..def4a328 100644
--- a/pd/src/t_tkcmd.c
+++ b/pd/src/t_tkcmd.c
@@ -432,7 +432,7 @@ static void pd_startfromgui( void)
fprintf(debugfd, "%s", cmdbuf);
fflush(debugfd);
#endif
- execl("/bin/sh", "sh", "-c", cmdbuf, 0);
+ execl("/bin/sh", "sh", "-c", cmdbuf, (char*)0);
perror("pd: exec");
_exit(1);
}