diff options
author | Anselm R. Garbe <garbeam@wmii.de> | 2006-07-11 11:10:05 +0200 |
---|---|---|
committer | Anselm R. Garbe <garbeam@wmii.de> | 2006-07-11 11:10:05 +0200 |
commit | 3a69c5173cdd24959410870bec2a10a76272e034 (patch) | |
tree | 993f2fb75b1c44213d0c95a4da8b3a18daa739fe /menu.c | |
parent | 439e15d09f6fa9271d3b49ef97194f0c80ebe161 (diff) |
implemented pipe_spawn
Diffstat (limited to 'menu.c')
-rw-r--r-- | menu.c | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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] == '-') |