//go:build windows

package agent

import "os"

func chmodPiPath(path string, mode os.FileMode, directory bool) error {
	// Windows has no openat-style no-follow chmod primitive; os.Chmod is the
	// platform-equivalent operation for the already validated launch paths.
	_ = directory
	return os.Chmod(path, mode)
}
