Dear All,

I am looking for a quick way to do the equivalent of

s = commands.getoutput ("ls " + name + "*")

in Ocaml.

Unix.system does perform a call, but the output of the call is not returned... yes, I can redirect it to /tmp/output.ocaml and then read the file, or even go crazy and build pipes, but is there a more elegant (read: succint) way to do it?

Luca