mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 12:28:22 +01:00
dunno
This commit is contained in:
@@ -32,8 +32,10 @@
|
||||
#include <math.h>
|
||||
#include <time.h>
|
||||
|
||||
#include <WUtil.h>
|
||||
#include <wraster.h>
|
||||
|
||||
|
||||
#include "WindowMaker.h"
|
||||
#include "GNUstep.h"
|
||||
#include "screen.h"
|
||||
@@ -1434,7 +1436,7 @@ ExecuteShellCommand(WScreen *scr, char *command)
|
||||
#ifdef HAVE_SETPGID
|
||||
setpgid(0, 0);
|
||||
#endif
|
||||
execl(shell, shell, "-c", command, NULL);
|
||||
execl(shell, shell, "-c", wstrappend("exec ", command), NULL);
|
||||
wsyserror("could not execute %s -c %s", shell, command);
|
||||
Exit(-1);
|
||||
} else if (pid < 0) {
|
||||
|
||||
Reference in New Issue
Block a user