implemented pipe_spawn

This commit is contained in:
Anselm R. Garbe
2006-07-11 11:10:05 +02:00
parent 439e15d09f
commit 3a69c5173c
7 changed files with 70 additions and 15 deletions

3
util.h
View File

@ -14,5 +14,6 @@ extern char *estrdup(const char *str);
failed_assert(#a, __FILE__, __LINE__); \
} while (0)
extern void failed_assert(char *a, char *file, int line);
void pipe_spawn(char *buf, unsigned int len, Display *dpy, const char *cmd);
extern void spawn(Display *dpy, const char *cmd);
extern void swap(void **p1, void **p2);
extern void spawn(Display *dpy, const char *shell, const char *cmd);