fc0057ff35
* lib/Makefile.am: Added lib/spawn.c and lib/spawn.h. * lib/nscd.c, lib/spawn.c, lib/spawn.h: It is not possible to differentiate between an nscd failure, and a failure to execute due to no nscd with posix_spawn. Use our own run_command routine. * src/userdel.c: Use run_command()
8 lines
162 B
C
8 lines
162 B
C
#ifndef _SPAWN_H
|
|
#define _SPAWN_H
|
|
|
|
extern int run_command (const char *cmd, const char *argv[],
|
|
const char *envp[], int *status);
|
|
|
|
#endif
|