1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-20 04:48:06 +01:00

- new function in WINGs: WMSetConnectionShutdownOnClose()

- new callback in the ConnectionDelegate structure: canResumeSending
- replaced setpgid() with setsid() when starting kids, to allow them to
  survive if wmaker (the parent) dies.
- a few cleanups.
This commit is contained in:
dan
2002-09-09 04:25:51 +00:00
parent 048b43aea4
commit d4de3d0a45
11 changed files with 115 additions and 25 deletions

View File

@@ -307,8 +307,8 @@ ExecuteShellCommand(WScreen *scr, char *command)
SetupEnvironment(scr);
#ifdef HAVE_SETPGID
setpgid(0, 0);
#ifdef HAVE_SETSID
setsid();
#endif
execl(shell, shell, "-c", command, NULL);
wsyserror("could not execute %s -c %s", shell, command);