ProcessInfo Puzzle!

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Vai2000

    ProcessInfo Puzzle!

    Hi All, I have an executable which requires user interaction after invoking
    the EXE
    Usually the interaction is only the password....so only 1 step

    How can I call this EXE from my process and pass the password prompt as
    well....


    TIA


  • Chris Dunaway

    #2
    Re: ProcessInfo Puzzle!


    Vai2000 wrote:
    Hi All, I have an executable which requires user interaction after invoking
    the EXE
    Usually the interaction is only the password....so only 1 step
    >
    How can I call this EXE from my process and pass the password prompt as
    well....
    >
    >
    What you would have to do is Redirect StandardInput and StandardOutput.
    You would read the StandardOutput stream and when you see your prompt
    in the stream, you would then write the correct value to the
    StandardInput stream.

    Comment

    Working...