[PATCH] enable Mod-C by eliminating $SHELL -c

From: Greg Reagle <greg.reagle_AT_umbc.edu>
Date: Tue, 24 Nov 2015 09:28:26 -0500

---
 dvtm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dvtm.c b/dvtm.c
index e337061..1873639 100644
--- a/dvtm.c
+++ b/dvtm.c
_AT_@ -990,7 +990,7 @@ static char *getcwd_by_pid(Client *c) {
 static void
 create(const char *args[]) {
 	const char *cmd = (args && args[0]) ? args[0] : shell;
-	const char *pargs[] = { shell, "-c", cmd, NULL };
+	const char *pargs[] = { cmd, NULL };
 	char buf[8], *cwd = NULL;
 	const char *env[] = {
 		"DVTM_WINDOW_ID", buf,
-- 
1.9.1
--------------070800090809080507040503--
Received on Mon Sep 17 2001 - 00:00:00 CEST

This archive was generated by hypermail 2.3.0 : Tue Nov 24 2015 - 15:48:04 CET