The printf() library call prints to stdout, which is buffered. You won't see any output until you either fill up or flush the buffer. IIRC you can flush stdout with "fflush( stdout );". That should work - or it's something close to that. Or you an print to stderr using "fprintf( stderr, "Your message here" );" as stderr is not buffered.