> is it maybe sent via something other than STDOUT? STDERR perhaps? for
> security
reasons maybe? Nothing! :|
> Process := TProcess.Create(nil);  with Process do  begin    Executable
> := '"C:\Program Files (x86)\MySQL\MySQL Server 5.5\bin\mysql.exe" -u
> root -p';    with Parameters do    begin      Options := [poUsePipes,
> poNoConsole];    end;      Execute;  Sleep(1000);
> WriteLn(Process.Output.NumBytesAvailable); // will be 0 but it write
> "Enter password"    WriteLn(Process.Stderr.NumBytesAvailable);    //
> will be 0 but it write "Enter password"     end;

Regards, Ara


-- 
http://www.fastmail.com - IMAP accessible web-mail

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to