Thank you for all the responses. You are right, ctrun creates a new contract just as everyone said. The problem I had was the subprocess was still semi-tied to the parent process by standard IO, which was causing me all these problems. This has been fixed.
Thanks for all the great help :) This message posted from opensolaris.org