[Lazarus] GUI frontend to a console application
Luiz Americo Pereira Camara
luizmed at oi.com.br
Tue Feb 24 17:30:12 CET 2009
Graeme Geldenhuys escreveu:
> On Tue, Feb 24, 2009 at 3:08 PM, Martin Friebe <lazarus at mfriebe.de> wrote:
>
>> It will be similar (probably easier) if the command line app is *not*
>> interactive.
>>
>
> The console apps we want to wrap works similar to the SubVersion (svn)
> command line client. Execute with certain parameters and read back the
> results, which must be displayed in a GUI form via various components.
>
> Some console apps which we will be writing ourselves will output %
> progress, which we would like to represent with a TProgressBar. The
> reason we want both console and a GUI wrapper is so that we can
> script/automate the console app, but also allow the user to run it
> manually via a easier to use GUI frontend.
>
>
I tweaked a class found in PasDoc project (made it standalone) that
provides methods to "talk" with a process.
http://code.google.com/p/luipack/source/browse/trunk/miscutils/processlinetalk.pas
It's used by sevenzipwrapper found in the same dir
Luiz
More information about the Lazarus
mailing list