[v2] Fix killing dev command on Windows

This commit is contained in:
Lea Anthony
2021-10-03 22:19:40 +11:00
parent 27f8df2b31
commit a59d01ddb9
2 changed files with 29 additions and 8 deletions

View File

@@ -69,3 +69,7 @@ func (p *Process) Kill() error {
func (p *Process) PID() int {
return p.cmd.Process.Pid
}
func (p *Process) SetDir(dir string) {
p.cmd.Dir = dir
}