actions: Add debug in Eexec()
This commit is contained in:
parent
fbe5329ade
commit
6a66d7a2f6
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue