Malcolm Poole wrote:
Hello everyone!
I am trying to write a front-end for the command-line archiving program
"dar" ( http://dar.linux.free.fr/ )
I can read happily from the dar Process.Output but am not managing to
respond using Process.Input
When extracting an archive using the commandline, when dar finds a file
to be overwritten, it asks if it should be overwritten, to which the
response is [RETURN] key for 'Yes' or [ESC] key for 'NO'. I have tried
writing both #13 and #27 to Process.Input but it has no effect: the
program just hangs as the Process never stops running and gives no more
output.
Try writing #10 or #13#10
Marc
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives