You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now there doesn't seem to be a way to pass args to a windows bash shell. When calling my script with how exec presently works Windows returns that my script isn't a valid win32 application (which it's right).
STR is fairly clean, just go run gotest.tools/gotestsum@latest --junitfile unit-tests.xml --format pkgname --raw-command ./profile.sh -- ./... on Windows.
Using something like https://github.com/mattn/go-shellwords may be helpful for parsing these strings into commands with args and similar. Wrapping the run with bash -c profile.sh invokes okay, but the args don't make it through.
The text was updated successfully, but these errors were encountered:
Thank you very much for this application 😺 .
Right now there doesn't seem to be a way to pass args to a windows bash shell. When calling my script with how exec presently works Windows returns that my script isn't a valid win32 application (which it's right).
STR is fairly clean, just
go run gotest.tools/gotestsum@latest --junitfile unit-tests.xml --format pkgname --raw-command ./profile.sh -- ./...
on Windows.Using something like https://github.com/mattn/go-shellwords may be helpful for parsing these strings into commands with args and similar. Wrapping the run with
bash -c profile.sh
invokes okay, but the args don't make it through.The text was updated successfully, but these errors were encountered: