From 3a69c5173cdd24959410870bec2a10a76272e034 Mon Sep 17 00:00:00 2001 From: Anselm R. Garbe Date: Tue, 11 Jul 2006 11:10:05 +0200 Subject: implemented pipe_spawn --- menu.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'menu.c') diff --git a/menu.c b/menu.c index 7c84305..d2e50ec 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] == '-') -- cgit v1.2.3