BaseUnix lazarus / 13-General ---------------------------------------------------------------------- berghem · 2006-09-14 20:14 Hi, I want to use BaseUnix  library to write  the result of linux comand in a Tmemo (for example the ls comand). Someone can help me??? Tks ---------------------------------------------------------------------- felipemdc · 2006-09-15 11:22 You can see the documentation of all Free Pascal Runtime Library units here: http://www.freepascal.org/docs-html/rtl/index.html The unit you are looking for is probably Unix and not UnixBase One idea is to use the Shell function and pipe the output to a file. Perhaps like this: shell(ls -l *.pp > homedir/.mysoftware/myfile.tmp'); You can get the homedir using get environment variable HOME There is probably a better way to do this, but this should work if you need something to work quickly ---------------------------------------------------------------------- Vincent Snijders · 2006-09-15 11:43 Why don't you use TProcess? See wiki for examples. ---------------------------------------------------------------------- berghem · 2006-09-17 20:13 Tks, TProcess it is perfect