mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-02 03:27:54 +00:00
Escape backslash to allow usage of dev server on Windows using MinGW (partially fixes issue #95)
This commit is contained in:
@@ -94,6 +94,6 @@ func (h *Helper) Store(v string) error {
|
||||
}
|
||||
|
||||
func (h *Helper) cmd(op string) *exec.Cmd {
|
||||
cmd := exec.Command("sh", "-c", h.Path+" "+op)
|
||||
cmd := exec.Command("sh", "-c", strings.Replace(h.Path, "\\", "\\\\", -1)+" "+op)
|
||||
return cmd
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user