PS: I can look at top and see that gnuplot is running after the popen call, so perhaps I've got some CR/LF or fflush issue? Best, C