1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-19 12:28:22 +01:00
This commit is contained in:
kojima
1999-04-16 02:07:45 +00:00
parent c98f229d9c
commit 4b609a4ddc
8 changed files with 51 additions and 19 deletions

View File

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