File tree 1 file changed +5
-3
lines changed
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):
708
708
$host.ui.rawui.WindowSize = $size
709
709
}
710
710
# Windows10 yelling at us with 150 40 6000
711
- Set-WindowSize 210 40 6000
711
+ # no more needed ?
712
+ # Set-WindowSize 195 40 6000
712
713
713
714
### Colorize to distinguish
714
715
#$host.ui.RawUI.BackgroundColor = "DarkBlue"
@@ -719,12 +720,13 @@ def _create_batch_scripts_initial(self):
719
720
self .create_batch_script ('cmd_ps.bat' , r"""@echo off
720
721
rem safe bet
721
722
call "%~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""'} "
723
724
""" )
724
725
725
726
self .create_batch_script ('WinPython_Interpreter_PS.bat' , r"""@echo off
726
727
rem 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
728
730
""" )
729
731
730
732
self .create_batch_script ('env_for_icons.bat' , r"""@echo off
You can’t perform that action at this time.
0 commit comments