forked from qt-creator/qt-creator
Squish: Added note about possible problems with netsh
Change-Id: Ic54abb4d014b8eaf71cbda490e5b4206dbb3da3b Reviewed-by: Christian Stenger <christian.stenger@digia.com>
This commit is contained in:
@@ -349,6 +349,9 @@ def __configureFW__(workingDir, projectName, isReleaseBuild, addToFW=True):
|
||||
mode = "delete"
|
||||
enable = ""
|
||||
projectName = ""
|
||||
# Needs admin privileges on Windows 7
|
||||
# Using the deprecated "netsh firewall" because the newer
|
||||
# "netsh advfirewall" would need admin privileges on Windows Vista, too.
|
||||
return subprocess.call('netsh firewall %s allowedprogram "%s.exe" %s %s' % (mode, path, projectName, enable))
|
||||
|
||||
# helper to check whether win firewall is running or not
|
||||
|
||||
Reference in New Issue
Block a user