Files
datascape/cmd/companion/open_linux.go
T
2026-05-08 20:47:02 +02:00

11 lines
209 B
Go

//go:build linux
package main
import "os/exec"
// openOSPath delegates to xdg-open for both files and folders.
func openOSPath(p string, isFolder bool) error {
return exec.Command("xdg-open", p).Start()
}