File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -708,7 +708,8 @@ def _create_batch_scripts_initial(self):
708708 $host.ui.rawui.WindowSize = $size
709709}
710710# Windows10 yelling at us with 150 40 6000
711- Set-WindowSize 210 40 6000
711+ # no more needed ?
712+ # Set-WindowSize 195 40 6000
712713
713714### Colorize to distinguish
714715#$host.ui.RawUI.BackgroundColor = "DarkBlue"
@@ -719,12 +720,13 @@ def _create_batch_scripts_initial(self):
719720 self .create_batch_script ('cmd_ps.bat' , r"""@echo off
720721rem safe bet
721722call "%~dp0env_for_icons.bat"
722- Powershell.exe -executionpolicy RemoteSigned -noexit -file " %~dp0WinPython_PS_Prompt.ps1"
723+ Powershell.exe -Command "& {Start-Process PowerShell.exe -ArgumentList '-ExecutionPolicy RemoteSigned -noexit -File"" %~dp0WinPython_PS_Prompt.ps1""'} "
723724""" )
724725
725726 self .create_batch_script ('WinPython_Interpreter_PS.bat' , r"""@echo off
726727rem no safe bet (for comparisons)
727- Powershell.exe -executionpolicy RemoteSigned -noexit -file "%~dp0WinPython_PS_Prompt.ps1"
728+ Powershell.exe -Command "& {Start-Process PowerShell.exe -ArgumentList '-ExecutionPolicy RemoteSigned -noexit -File ""%~dp0WinPython_PS_Prompt.ps1""'}"
729+ exit
728730""" )
729731
730732 self .create_batch_script ('env_for_icons.bat' , r"""@echo off
You can’t perform that action at this time.
0 commit comments