11 lines
209 B
Go
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()
|
|
}
|