[dwm] [dzen] strange behavior when using a C program

From: <lobzang_AT_free.fr>
Date: Wed, 17 Oct 2007 11:11:00 +0200

Hi,

Here is a simple test to explain my problem.

I wrote a shell script test.sh :

while true
do
printf "test\n"
sleep 1
done

Then I wrote a C program test.c that does exactly the same :

test.c
int main(void)
{
while(1)
  {
  printf ("test\n");
  sleep(1);
  }
}

./test.sh | dzen2 -p --> works
./test | dzen2 -p --> doesn't work (nothing in the dzen bar)

Any help appreciated..

Lobzang.
Received on Wed Oct 17 2007 - 10:11:01 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:59:57 UTC