Why does Dashcode report the error "Value undefined (result of expression widget.system) is not an object" when it comes across the line below?
var output = widget.system("/usr/bin/which ls", null).outputString;
The above line is based on code from Apple's own doco.
Many thanks