summaryrefslogtreecommitdiff
path: root/menu.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <garbeam@wmii.de>2006-07-11 11:10:05 +0200
committerAnselm R. Garbe <garbeam@wmii.de>2006-07-11 11:10:05 +0200
commit3a69c5173cdd24959410870bec2a10a76272e034 (patch)
tree993f2fb75b1c44213d0c95a4da8b3a18daa739fe /menu.c
parent439e15d09f6fa9271d3b49ef97194f0c80ebe161 (diff)
implemented pipe_spawn
Diffstat (limited to 'menu.c')
-rw-r--r--menu.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/menu.c b/menu.c
index 7c84305c..d2e50ecf 100644
--- a/menu.c
+++ b/menu.c
@@ -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] == '-')