Thanks to visit codestin.com
Credit goes to github.com

Skip to content

@georgejean tweaks for powershell #439

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 21, 2016
Merged

Conversation

stonebig
Copy link
Contributor

@stonebig stonebig merged commit 552ceeb into winpython:master Nov 21, 2016
@@ -719,12 +720,13 @@ def _create_batch_scripts_initial(self):
self.create_batch_script('cmd_ps.bat', r"""@echo off
rem safe bet
call "%~dp0env_for_icons.bat"
Powershell.exe -executionpolicy RemoteSigned -noexit -file "%~dp0WinPython_PS_Prompt.ps1"
Powershell.exe -Command "& {Start-Process PowerShell.exe -ArgumentList '-ExecutionPolicy RemoteSigned -noexit -File""%~dp0WinPython_PS_Prompt.ps1""'}"
""")

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

II think exit must be inserted on this line (line above 724) in order to exit the cmd.exe (the powershell console remains open), see line 729.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oups ! I forgot it

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

but it seems not needed

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe you're right... in doubts, I add it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants