I believe that https://github.com/spf13/hugo/issues/604 is related to
helpers/path.go.findCWD() returning the exectuable directory as the CWD in Windows. This results in the
new content being created relative to the exectuble, and not the working directory, WD.
new site sub-command, this is resolvable by checking the return of its implementation of
findCWD() and subsequently calling
os.Getwd(). This is not possible in Hugo as its
findCWD() returns the executable’s working directory.
This behavior seems inconsistent to me, but I’m probably missing something fairly obvious.
@spf13 What is
helpers\path.go\findCWD() supposed to be returning?