Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2001-06

return from exec ?

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Kenneth Due

Hello fellow listmembers

How do I run an external command (on linux) and get the result from that command into a array

the command, i want to get the data from, returns x lines of data, and cannot be persuaded to pipe into a file

Earlier i used to 'exec' a command, and pipe the output into a file, and then read the file into an array.......
But not this command

/regards

Kenneth Due