From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <102653647622069.tru64-unix-managers.marc@archive.invalid> From: Don Newcomer Date: Wed, 23 May 2001 20:48:58 +0000 To: tru64-unix-managers Subject: Redirecting a C program's STDOUT X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=102653647622069 This seems really simple but I can't make it work. I'm running Tru64 V4.0D. I have a little C program that looks like this: #include main (argc, argv) int argc; char **argv; { while (1) { printf( "testing\n" ); sleep( 3 ); } } If I compile and run it, it generate the lines like you'd expect. HOWEVER, if I run it with STDOUT redirected to a file, nothing appears in the file. abc >& abc.log & The log is always empty. Any idea what I'm missing here? ================================================================================ Don Newcomer Dickinson College Associate Director, System and Network Services P.O. Box 1773 newcomer@dickinson.edu Carlisle, PA 17013 Phone: (717) 245-1256 FAX: (717) 245-1690