Comments (6)
@PietJankbal Chocolatey CLI uses Windows PowerShell as it's host. Your 'Steps To Reproduce' don't provide enough information to reproduce the problem.
Running it here using Chocolaety CLI 2.2.2 I get the following:
My first suggestion is that you are using an unsupported open-source version of Chocolatey CLI and that you upgrade to 2.2.2 and try it again. If that doesn't work please go back to your first comment and edit it to provide all of the information rquired in 'Steps To Reproduce' and 'Environment'.
from chocolatey-packages.
Hi, I forgot to mention that I disabled the builtin powershell host. So first I ran:
choco.exe feature disable --name=powershellHost
from chocolatey-packages.
Chocolatey packages are only tested for working on Windows PowerShell.
If you want to submit a PR to update the package to allow it to work on both Windows PowerShell and PowerShell Core, then we could look at that. If not, I don't think this will get any traction and will automatically close.
from chocolatey-packages.
Well ok, then I think i will close this myself.
Nevertheless I would like to point out that I also opened a bugreport at PS Core, and they said to be careful using wildcards in Move-Item, and the difference in behaviour between PS Core and Windows PowerShell will not be fixed because of sane reasons.
See PowerShell/PowerShell#20521 (comment)
So maybe something to consider when writing new scripts.
from chocolatey-packages.
@PietJankbal The scenario that you are using (using PowerShell Core host with Chocolatey CLI scripts) isn't one that is common (I've never heard of it before). So this isn't an issue that the vast majority of people will run into.
Chocolatey CLI uses a Windows PowerShell host to run Chocolatey CLI scripts. Chocolatey CLI doesn't support PowerShell Core because it doesn't have to. Every Windows computer comes with Windows PowerShell.
Just to be clear on this repository. It is a community maintained repository, so when things need fixing / updating / changing, the expectation is that you submit those changes as a PR in the first instance.
Because the vast majority of people are never going to see this issue, I am guessing the community maintainers of this repository are unlikely to want to spend time fixing it.
Hopefully, that gives some context as to why the above comments were made.
from chocolatey-packages.
Related Issues (20)
- (nmap) Outdated HOT 2
- (freecad) is outdated (now 0.21.1) HOT 2
- (nexus-repository) Incorrect docsUrl in nuspec file
- (vlc) is outdated HOT 3
- (vscode.install) outdated - now 1.84.1 HOT 6
- git, git.install - Unhelpful feedback when failing HOT 10
- (putty.install & putty) AU is not updating package scripts in the repository HOT 2
- (spotify) Installation progress hangs / terminates after task creation -> Possible fix HOT 1
- (calibre) Outdated HOT 3
- Package "vivaldi.portable" fails to uninstall HOT 1
- (libreoffice-fresh) Outdated HOT 23
- (tor-browser) Outdated HOT 1
- (lockhunter) Checksum outdated again. HOT 6
- (privazer) HOT 1
- (SciTE4AutoHotkey) Outdated HOT 1
- AutoHotkey v2 HOT 3
- (googlechrome) Outdated HOT 2
- (k9s) outdated HOT 3
- (kmttg) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chocolatey-packages.