in reply to Execute Interactive commands

Could you show us a minimal program that demonstrates the problem?