thanks for reply .. but i use merged channels and i am getting standard output but only after the process ie.. the gtk window closed ..