[Lazarus] How can a program executing a command via TProcess detect an input prompt and create a graphical dialog for the input?
vfclists at gmail.com
Thu Jan 3 16:20:30 CET 2013
On 1 January 2013 16:15, Frank Church <vfclists at gmail.com> wrote:
> How can a Lazarus/FPC program that is executing a command via TProcessdetect an input prompt and create a graphical dialog for the input?
> e.g. say I execute an ssh command via TProcess which requires a password
> to be input - how could it detect it, prompt for it with a graphical dialog
> and pass it on for the command to continue?
> Frank Church
After further consideration I think what I am thinking of is a TProcess
like object that emulates a console, so it "types" the command and receives
input as well as prompts. Is there an FPC library that does something like
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Lazarus