Skip to content
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

Windows with powershell script #600

Open
n1ght-hunter opened this issue Aug 5, 2024 · 0 comments
Open

Windows with powershell script #600

n1ght-hunter opened this issue Aug 5, 2024 · 0 comments
Labels
help wanted Needs help from external contributors P2 We'll consider working on this in future. (Assignee optional)

Comments

@n1ght-hunter
Copy link

a ps1 script doesn't work with bazelisk because its not an application.
powershell needs to be called with file as arg instead of the file directly.

link to the relevant code below

powershellWrapper := filepath.Join(root, wrapperPath+".ps1")

cmd := exec.Command(execPath, args...)

for ps1 files to work when its a ps1 the command needs changing to something like this

cmd := exec.Command("powershell", execPath, args...)

@meteorcloudy meteorcloudy added help wanted Needs help from external contributors P2 We'll consider working on this in future. (Assignee optional) labels Aug 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Needs help from external contributors P2 We'll consider working on this in future. (Assignee optional)
Projects
None yet
Development

No branches or pull requests

2 participants