cspotcode / npm-pwsh

Install PowerShell via npm for use in npm scripts or elsewhere.
12 stars 5 forks source link

Implement pwsh-np that does not load profile #16

Open cspotcode opened 5 years ago

cspotcode commented 5 years ago

When used in a shebang, Powershell still tries to load your profile. This doesn't match unix / bash behavior and it's slower.

Expose a pwsh-np binary that does not load the profile.

Already proposed here: https://github.com/PowerShell/PowerShell/issues/992 https://github.com/PowerShell/PowerShell/issues/8072