* Do you want the command to interact with your script? Or the user?
Rapunzel: Command will interact with user.
* If the latter, are you hoping to capture just the final output, or the entire interaction including user inputs and intermediate command outputs (eg. prompts)?
Rapunzel: It is fine even if script is able to capture the final output.
Also note that my script supports both windows and *nix operating system.