more on issue #742

This commit is contained in:
Bernardo Damele 2014-06-30 20:43:48 +01:00
parent 8ce98ae22c
commit 1218e694ef

View File

@ -181,7 +181,7 @@ class Filesystem(GenericFilesystem):
logger.debug("executing the PowerShell script to write the %s file" % dFile) logger.debug("executing the PowerShell script to write the %s file" % dFile)
commands = ("powershell -ExecutionPolicy ByPass -File \"%s\"" % randPSScriptPath, commands = ("powershell -ExecutionPolicy ByPass -File \"%s\"" % randPSScriptPath,
"del /F /Q \"%s\"" % (randPSScriptPath, randPSScriptPath)) "del /F /Q \"%s\"" % randPSScriptPath)
complComm = " & ".join(command for command in commands) complComm = " & ".join(command for command in commands)
self.execCmd(complComm) self.execCmd(complComm)