saltstack/salt — pull request #562 by archtaku (2012-01-23 00:32:25+00:00)
Title: add try/except to code that won't work on windows. also, changed _run to...

... use su to run command as another user, rather than using os.setuid/seteuid to allow import of user's environment