// +build windows

package open

import (
	"os/exec"
)

func open(input string) *exec.Cmd {
	return exec.Command("start", "", input)
}

func openWith(input string, appName string) *exec.Cmd {
	return exec.Command("start", "", appName, input)
}

// +build windows

package open

import (
	"os/exec"
)

func open(input string) *exec.Cmd {
	return exec.Command("cmd", "/C", "start", "", input)
}

func openWith(input string, appName string) *exec.Cmd {
	return exec.Command("cmd", "/C", "start", "", appName, input)
}

Fix 'start' executable not found in %PATH%
Fix 'start' executable not found in %PATH%
