From d6ff630498bbbeb4cd7d28ba4b540724f7c7ed86 Mon Sep 17 00:00:00 2001 From: nicm Date: Thu, 2 Aug 2018 18:35:21 +0000 Subject: Log command arguments. --- window.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'window.c') diff --git a/window.c b/window.c index 3b9469fe..db6ff8c9 100644 --- a/window.c +++ b/window.c @@ -920,8 +920,7 @@ window_pane_spawn(struct window_pane *wp, int argc, char **argv, log_debug("%s: shell=%s", __func__, wp->shell); log_debug("%s: cmd=%s", __func__, cmd); log_debug("%s: cwd=%s", __func__, cwd); - for (i = 0; i < wp->argc; i++) - log_debug("%s: argv[%d]=%s", __func__, i, wp->argv[i]); + cmd_log_argv(wp->argc, wp->argv, __func__); environ_log(env, "%s: environment ", __func__); memset(&ws, 0, sizeof ws); -- cgit