I am having problems starting a godoc server hidden on my windows development machine. The idea is to have a batch that starts godoc and opens it in my browser. So far that works, but I cannot get rid of a console window holding the godoc output log. Is there some way to start it completely in the background?
My batch:
#start cmd /c "godoc -http=:8080 -goroot=D:\Programmieren\Go\pkg > nul"
#start godoc -http=:8080 -goroot=D:\Programmieren\Go\pkg > nul
#Set oShell = CreateObject("Wscript.Shell")
#oShell.Run "godoc -http=:8080 -goroot=D:\Programmieren\Go\pkg", 0, true
start godoc -http=:8080 -goroot=D:\Programmieren\Go\pkg
start "" http://localhost:8080/pkg/
The commented lines are things I have tried without success so far.