Order of the Butterfly
Posts: 374 from 2007/10/23
What you are looking for is not the return value, but the output of the command. The easiest way is to redirect it into a file in T: and read it for your program.
Correct I will use the output of cli command .
I can read a file , no problem , if i can put the output in a file , then i must have the output ?
By the way it's not a good style to depend on external commands for simple tasks if you also have a dedicated API.
An ARexx script should of course use diskfree.
Pegasos II G4: MorphOS 3.9, Zalman M220W
Power Mac G3: OSX 10.3 · PowerBook 5,8: OSX 10.5, MorphOS 3.10