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

9
menu.c
View File

@ -356,6 +356,15 @@ main(int argc, char *argv[])
char *maxname;
XEvent ev;
char buf[256];
fputs(STATUSCMD, stdout);
fputs("\n", stdout);
pipe_spawn(buf, sizeof(buf), NULL, STATUSCMD);
fputs(buf, stderr);
return 0;
/* command line args */
for(i = 1; i < argc; i++) {
if (argv[i][0] == '-')