// +build !windows

package cmd

import (
	boshenv "github.com/cloudfoundry/bosh-agent/agent/script/pathenv"
	boshsys "github.com/cloudfoundry/bosh-utils/system"
)

func BuildCommand(path string) boshsys.Command {
	return boshsys.Command{
		Name: path,
		Env: map[string]string{
			"PATH": boshenv.Path(),
		},
	}
}
