Skip to content
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

Powershell integration not working #95

Closed
hohwille opened this issue Apr 9, 2019 · 4 comments
Closed

Powershell integration not working #95

hohwille opened this issue Apr 9, 2019 · 4 comments
Labels
bug Something isn't working scripts related to shell scripts (bash and CMD) windows specific for Microsoft Windows OS
Milestone

Comments

@hohwille
Copy link
Member

hohwille commented Apr 9, 2019

When I setup a new devon-ide in a windows VM the CMD and Powershell hooks get installed for WindowsExplorer. Open Devon CMD shell here is working while Open Devon PowerShell here is not:
Screenshot 2019-04-09 at 11 11 35

@hohwille hohwille added bug Something isn't working windows specific for Microsoft Windows OS scripts related to shell scripts (bash and CMD) labels Apr 9, 2019
@hohwille hohwille added this to the release:3.0.0 milestone Apr 9, 2019
@hohwille
Copy link
Member Author

hohwille commented Apr 9, 2019

OK. Figured out more details:

  • When right clicking on a folder Open Devon PowerShell here is working correct.
  • Only when right clicking on the white space inside a folder then Open Devon PowerShell here does not work and raises the above error.

@hohwille
Copy link
Member Author

hohwille commented Apr 9, 2019

Windows and Powershell sucks:

  • When I change the command for Background to powershell.exe -NoExit -Command Write-Host foo it works, opens a PowerShell and prints foo to the top
  • When I change this to powershell.exe -NoExit -Command Write-Host '%USERPROFILE%/devon.bat' then PowerShell crashes and with it the WindowsExplorer dies.

@hohwille
Copy link
Member Author

hohwille commented Apr 9, 2019

I am giving up here. This is just bells and whistles. So KISS is to simply remove the PowerShell support for Background. That is what I will do. Some Windows Expert is most welcome to solve this properly and readd this Registry keys to make it work again.

hohwille added a commit that referenced this issue Apr 10, 2019
* #95: fixed by removing PS support for Background
* #69: changed registry keys to HKCU as suggested my markusschuh
* #69: fixed magic grep not found error
* #61: added cygwin integration
* #69: #50: uninstall both from cygwin and mingw
* #97: bash fix and disabled settings update
@hohwille
Copy link
Member Author

Done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working scripts related to shell scripts (bash and CMD) windows specific for Microsoft Windows OS
Projects
None yet
Development

No branches or pull requests

1 participant