I have a bash script foo.sh
and I want to execute it with some arguments --bar
from PowerShell Core. This doesn't work:
./foo.sh
Use a & operator
& "./foo.sh"
Or execute it using bash
& bash "./foo.sh"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With