func InitArgs(args ...string) func(*LinuxFactory) error {
	return func(l *LinuxFactory) error {
		name := args[0]
		if filepath.Base(name) == name {
			if lp, err := exec.LookPath(name); err == nil {
				name = lp
			}
		}
		l.InitPath = name
		l.InitArgs = append([]string{name}, args[1:]...)
		return nil
	}
}
func InitArgs(args ...string) func(*LinuxFactory) error {
	return func(l *LinuxFactory) error {
		name := args[0]
		if filepath.Base(name) == name {
			if lp, err := exec.LookPath(name); err == nil {
				name = lp
			}
		}
		l.InitPath = name
		l.InitArgs = append([]string{name}, args[1:]...)
		return nil
	}
}
func InitArgs ( args ... string ) func ( * LinuxFactory ) error { return func ( l * LinuxFactory ) error { name := args [ 0 ] if filepath . Base ( name ) == name { if lp , err := exec . LookPath ( name ) ; err == nil { name = lp } } l . InitPath = name l . InitArgs = append ( [ ] string { name } , args [ 1 : ] ... ) return nil } }
// InitArgs returns an options func to configure a LinuxFactory with the
// provided init arguments.
InitArgs returns an options func to configure a LinuxFactory with the provided init arguments .