Additional status output when running embedded scripts.

git-svn-id: http://munki.googlecode.com/svn/trunk@1165 a4e17f2e-e282-11dd-95e1-755cbddbdd66
This commit is contained in:
Greg Neagle
2011-05-05 23:11:52 +00:00
parent f6f28d8255
commit 02316f0c36
+3
View File
@@ -835,6 +835,9 @@ def runScript(itemname, path, scriptname):
munkistatus.detail("")
# set indeterminate progress bar
munkistatus.percent(-1)
else:
munkicommon.display_status('Running %s for %s '
% (scriptname, itemname))
scriptoutput = []
proc = subprocess.Popen(path, shell=False, bufsize=1,