Reading the source, it would seem that the line
'Process.Input.Write(InputStrings[1], length(InputStrings));' sends
whatever is contained in 'inputstrings' to the process as though
typed on the keyboard - is this correct?
if yes, then I am having problems both with my test program, and the
supplied attachment - neither cause any response from the program I am
trying to control
if no, could somebody pls explain / point me to an example to show how
to send keystrokes to a running TProcess ?
Using WinXP
Thanks
Mattias Gaertner wrote:
On Tue, 07 Mar 2006 15:14:12 +0100
Vincent Snijders <[EMAIL PROTECTED]> wrote:
Mattias Gaertner wrote:
On Tue, 7 Mar 2006 15:48:38 +0200
"A.J. Venter" <[EMAIL PROTECTED]> wrote:
On Tuesday 07 March 2006 14:49, Sam Washkansky wrote:
Thanks a lot I would appreciate that.
Cheers
Sam
Here you go, I´m not going to post the whole huge unit now, just the two
procedures, you can use them as you see fit, they are pretty much just
adaptations of the examples in the tutorial anyway (note that they are
overloaded):
Has anyone an example, how to pipe some text to a process. For example
piping some text to a 'grep' command?
I made this last summer, I never got time to update the wiki. It is a
sample application with TProcesses. The examples has two plink (ssh
client) command lines. You can type the commands in the memo and see the
output.
Thanks. I will try and if it works add it to the wiki.
Mattias
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives