scriptype / salinger

Ecosystem-free task runner that goes well with npm scripts.
https://scriptype.github.io/salinger/
MIT License
69 stars 2 forks source link

Support PowerShell scripts maybe? #1

Open scriptype opened 7 years ago

scriptype commented 7 years ago

Salinger should support PowerShell scripts, as it's a common thing in Windows.

This would need to be tested in Windows.

scriptype commented 7 years ago

It's possible for a Windows user to see the cannot be loaded because the execution of scripts is disabled on this system error when the PowerShell support is added.

One should run this in the PowerShell:

Set-ExecutionPolicy RemoteSigned
scriptype commented 7 years ago

Running a ps1 script like this: powershell path/to/script.ps1 causes the process to hang and not exit.