[Lazarus] How can a program executing a command via TProcess detect an input prompt and create a graphical dialog for the input?

Frank Church 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
>
> =======================
> http://devblog.brahmancreations.com


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
that?

-- 
Frank Church

=======================
http://devblog.brahmancreations.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20130103/11960e0b/attachment-0003.html>


More information about the Lazarus mailing list