From 6a66d7a2f6aded9f2e69d56c56b8ed6d815e2eca Mon Sep 17 00:00:00 2001 From: Kim Woelders Date: Thu, 12 Oct 2023 09:03:31 +0200 Subject: [PATCH] actions: Add debug in Eexec() --- src/actions.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/actions.c b/src/actions.c index 33569468..dc5793ef 100644 --- a/src/actions.c +++ b/src/actions.c @@ -1,6 +1,6 @@ /* * Copyright (C) 2000-2007 Carsten Haitzler, Geoff Harrison and various contributors - * Copyright (C) 2004-2022 Kim Woelders + * Copyright (C) 2004-2023 Kim Woelders * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to @@ -78,6 +78,9 @@ Eexec(const char *cmd) lst = StrlistFromString(cmd, ' ', &num); + if (EDebug(EDBUG_TYPE_EXEC)) + Eprintf("%s: '%s'\n", __func__, cmd); + execvp(lst[0], lst); StrlistFree(lst, num);