Skip to content

Commit

Permalink
windows chdir
Browse files Browse the repository at this point in the history
  • Loading branch information
atterpac committed May 5, 2024
1 parent 5e2c70b commit 7aa6471
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion process/process_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ func (pm *ProcessManager) StartProcess(ctx context.Context, cancel context.Cance
}
// Log buffers
}

pm.ChangeExecuteDirectory(p.Dir)
defer pm.RestoreRootDirectory()
var err error
if p.Type == Blocking || p.Type == Once {
if p.Type == Once && !pm.FirstRun {
Expand Down

0 comments on commit 7aa6471

Please sign in to comment.