mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
af8288335b
Commit e54361a374
added code so that we pass the list of
currently running children across restart via an environment variable.
As Colin Walters correctly points out, setenv() is not safe in a
multi-threaded processes.
Thus, instead of using the environment, use the command line to pass
this information along.
https://github.com/awesomeWM/awesome/issues/1812
Signed-off-by: Uli Schlachter <psychon@znc.in>
36 lines
1.2 KiB
C
36 lines
1.2 KiB
C
/*
|
|
* spawn.h - Lua configuration management header
|
|
*
|
|
* Copyright © 2009 Julien Danjou <julien@danjou.info>
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License along
|
|
* with this program; if not, write to the Free Software Foundation, Inc.,
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
*
|
|
*/
|
|
|
|
#ifndef AWESOME_SPAWN_H
|
|
#define AWESOME_SPAWN_H
|
|
|
|
#include "objects/client.h"
|
|
|
|
#include <lua.h>
|
|
|
|
void spawn_init(void);
|
|
void spawn_handle_reap(const char *);
|
|
char * const * spawn_transform_commandline(char **);
|
|
void spawn_start_notify(client_t *, const char *);
|
|
int luaA_spawn(lua_State *);
|
|
|
|
#endif
|
|
// vim: filetype=c:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80
|