Hi All, I know this is very trivial. Might be am missing something out. Have attached the code When I run the code I get to see "hello" on stdout and then get the prompt but am not able to see it. What i mean is say the prompt is prompt> prompt>./a.out prompt>hello I get a prompt and then see hello and I don't see the prompt after hello. Actually what I expect is prompt>./a.out helloprompt> But if I type "ls" or anything after hello it shows the output. So it means that the prompt is there. What I mean is prompt>./a.out prompt>helloecho hi hi prompt> Hope I have been clear. Thanks. Gowri.
Attachment:
pipes.c
Description: Binary data