dinuta
(Catalin Dinuta)
1
Hi Gophers,
I am new to Golang, and even though I read multiple examples and also read the docs I am unable to run system commands on Windows.
Please consider the code found at: https://github.com/dinuta/estuary-agent-go/blob/features/src/utils/CommandUtils.go
What I am doing wrong ?
GO version on WIN: go version go1.14.3 windows/amd64
Thanks,
Catalin
NobbZ
(Norbert Melzer)
2
You are not telling us what errors you see or what there was in the outputs of the command you ran or what errors got returned.
dinuta
(Catalin Dinuta)
3
Hi,
The error is: fork/exec C:\WINDOWS\system32\cmd.exe: The parameter is incorrect.
Thanks,
Catalin
dinuta
(Catalin Dinuta)
4
Please close. Some other external issue, which I was unable to identify. Now it works with the same code.
system
(system)
Closed
5
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.