actions: Add debug in Eexec()

This commit is contained in:
Kim Woelders 2023-10-12 09:03:31 +02:00
parent fbe5329ade
commit 6a66d7a2f6
1 changed files with 4 additions and 1 deletions

View File

@ -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);