Again me.
I am not able to view the documentation to tprocess, because I dont get it working and dont really look through, how to create the documentation.
But I have a question about TProcess, I hope someone can answer it.
I am using this code
with TProcess.Create(self) do begin
CurrentDirectory := WorkingDir;
Options := [poUsePipes];
CommandLine := fExec + ' ' + Args;
Execute;
Memo1.Lines.LoadFromStream(OutPut);
end;
to run a binary I built a frontend for. But there is a big problem. At the first startup of this binary, it shows the license and asks for a yes.
Is there any way to pipe that yes - or does anyone have an idea, how I could resolve that issue ?
Is it possible to show the output (the license) of this binary (its displayed in the bash) in the frontend using Lazarus, and pushing the yes of the frontend to the binary back ?
I would be really happy if someone could help me out, giving me ideas how to solve that.
Thx a lot
Rocky