-
Notifications
You must be signed in to change notification settings - Fork 23
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
support commands with arguments #1
base: master
Are you sure you want to change the base?
Conversation
Arguments would simply be provided like?
|
It's not working that way because exec.Command's first parameter is the executable, the rest are the parameters. You'll get an error that it can't be executed. |
Ok, so can you give an example how to provide the arguments? |
Using @oker1 fork following command works
whereas using @soupdiver master I have following error
|
@kakawait @oker1 I'm willing to merge the PR but please also update https://github.com/soupdiver/go-gitlab-webhook/blob/master/config.example.json so that there is an example on how to provide the arguments properly. |
You don't have to change the config, the command is split up at spaces. |
Yes |
No description provided.