Comments (2)
Fix tested with Windows PowerShell 5.1 and PowerShell Core 6.1.
Good job!
from clipboardtext.
Good find, and thanks for the detailed pointers - just published v0.1.7 with a fix.
As an aside:
Modules that don't have ScriptsToProcess
entries won't be affected, but I expect that many a script will break if you spring a global Set-StrictMode -Version Latest
on it (unless these scripts all manage their own strict mode).
There is a - languishing - RFC that proposes introduction of a lexical strict mode, that would avoid such problems - see https://github.com/PowerShell/PowerShell-RFC/blob/master/1-Draft/RFC0003-Lexical-Strict-Mode.md
from clipboardtext.
Related Issues (8)
- make it clear in readme that this runs on ALL PowerShell versions HOT 1
- version 5.1 fails in MTA mode HOT 1
- Remove dependency on Windows Script Host HOT 8
- CMD message if working directory is a UNC path HOT 3
- Enable Set-Clipboard and Get-Clipboard aliases HOT 4
- Can clipboard usage in a spawned shell be supported as well? HOT 1
- 'clip.exe' is not recognized as an internal or external command HOT 4
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 clipboardtext.