Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2009-08

Complicated stuff: How to interact with a specific shell window?

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

CubicDesign

Hi.

I am new to Lazarus :)

I need to write a graphic interface for an existing shell application (actually it is a collection of running daemons). The shell application runs in its own console. Is it possible to detect the console in which it running and send commands to it? For example I need to send this command "old_app.exe -copyFile FileName" or "old_app.sh -stopAllDaemons", etc

It will be even nicer if I can collect the output of that command and display it on screen - or at least display a green/red LED indicating that the application has received the command and responded to it.

I will appreciate if somebody that knows how to do this can share its wisdom.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20090824/ffb4cc72/attachment.html>

Reply by email