You are reading the output incorrectly, this should be done in a loop:
https://wiki.lazarus.freepascal.org/Executing_External_Programs#Reading_large_output
To avoid doing this manually, use the "RunCommand":
https://wiki.lazarus.freepascal.org/Executing_External_Programs#(Process.)RunCommand
Op 24-1-2025 om 15:10 schreef Terry A. Haimann via fpc-pascal:
I recently tried to execute a sed command from Lazarus, but didn't receive any
output. But when I imbedded the sed command in a script and then executed the
script from tprocess, it worked fine. Why is this? I have run across s
I recently tried to execute a sed command from Lazarus, but didn't receive any
output. But when I imbedded the sed command in a script and then executed the
script from tprocess, it worked fine. Why is this? I have run across similar
issues from other Linux commands when trying to execute t