0

I have a command line application I would like to call from inside a Powershell script. The purpose of doing so is so I can pass it values calculated by the script. Unfortunately the application does not accept command line parameters, but interactively prompts the user for them.

If I do a Write-Host after calling the command line application then the application must complete before the writes are done. If I pipe the values using Write-Host into the application call, the application behaves as though nothing but return was entered for each of the prompts. Is there a way to do this?

1 Answer 1

1

I'd give this a try: http://wasp.codeplex.com/

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.