mirror of
https://github.com/hashicorp/vault.git
synced 2026-01-06 17:21:36 +01:00
Escape backslash to allow usage of dev server on Windows using MinGW (partially fixes issue #95)
This commit is contained in:
parent
7bbc827590
commit
e28293368a
@ -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
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user