parent
326031f715
commit
fadf3abe91
|
@ -145,6 +145,9 @@ execApplication(const char *params)
|
|||
char exe[FILEPATH_LEN_MAX];
|
||||
const char *s = params;
|
||||
|
||||
if (!s)
|
||||
return -1;
|
||||
|
||||
sscanf(s, "%4000s", exe);
|
||||
runApp(exe, s);
|
||||
|
||||
|
|
|
@ -164,7 +164,10 @@ static const CfgItem MiscCfgItems[] = {
|
|||
static void
|
||||
MiscIpcExec(const char *params, Client * c __UNUSED__)
|
||||
{
|
||||
execApplication(params);
|
||||
if (params)
|
||||
execApplication(params);
|
||||
else
|
||||
IpcPrintf("exec what?\n");
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in New Issue