SteveG wrote:
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?

It is send to stdin. A sidenote here however.
The same limitations on the input pipe counts here as on the output. So that means that if you send to much the pipe may be full and your app will block. If the process starts to generate output based on this input, it may fill up the output pipe, which isn't read. So your process blocks as well -> deadlock

Marc

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to