-
Notifications
You must be signed in to change notification settings - Fork 11
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
Experiment with better "module" import guards #238
Comments
- [ ] Test functionality - [ ] Measuer container performance - [ ] Test *nix #238
Why do you seem to reinvert the wheel? Why not use the build-in module features like |
And who will cleanup the leaked modules? All of the functions would leak into current powershell user session. And on repeated command it would conflict. If user would run |
/preblock |
You can unload modules with |
In ideal case yes. But not in all. CTRL+C, fails, everything would have to run remove-module. Not possible to achieve. The conflict would occour on update. The new functions (with new code) would not be loaded, as they would be already loaded, -Force needs to be used, which is not convenient for all cases. Complete waste of time to discuss more. Not talking I just do not want to have it like that. |
Something like this could be faster
The text was updated successfully, but these errors were encountered: