I am trying to use the uses statement to implement something like in the following example:
uses Process;
...
var s : ansistring;
...
if RunCommand('/bin/bash',['-c','echo $PATH'],s) then
writeln(s);
The uses statement causes an error during compilation.
Any idea why?