//go:build !windows package main import "os/exec" func openMedia(path string) { cmd := exec.Command("xdg-open", path) _ = cmd.Start() }