Skip to content

Commit e66aeff

Browse files
authored
Correcao da execucao do script
1 parent 7ea6cd2 commit e66aeff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

functions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def installprograma(self, diretorioarcom, programa):
6060
self.reportar("Executando instalação do chocolatey")
6161
urllib.request.urlretrieve(script_url, ps_script_path)
6262
self.executar(
63-
'Powershell.exe -File ' + ps_script_path
63+
'powershell.exe -noprofile -executionpolicy bypass -file ' + ps_script_path
6464
)
6565
self.executar(
6666
self.chocolateypath + " config set cacheLocation " + diretorioarcom

0 commit comments

Comments
 (0)