Friday, November 1, 2013

wlst redirect

sometimes we don't want to clutter the stdout with the result of a ls(): http://docs.oracle.com/cd/E15051_01/wls/docs103/config_scripting/using_WLST.html#wp1094015 This works quite well:
redirect('/dev/null', 'false')
allds=ls('/SystemResources/', returnMap='true')
stopRedirect()



No comments: