in reply to How to "transfer control" to child process?

How about posting a trivial example of a program that calls system to execute another program which reads input? I would think that it should work, so let's see the actual code to diagnose the problem.

Update: I see you amended the original post.