diff --git a/internal/client/supervisor/windows/native_windows.go b/internal/client/supervisor/windows/native_windows.go index 5bb933e..bc15d9e 100644 --- a/internal/client/supervisor/windows/native_windows.go +++ b/internal/client/supervisor/windows/native_windows.go @@ -257,7 +257,7 @@ func osProcess(pid uint32) *os.Process { } func verifyExecutable(path string) error { - info, err := os.Stat(path) + info, err := os.Lstat(path) if err != nil { return fmt.Errorf("stat configured shell %q: %w", path, err) }