mirror of
https://git.sr.ht/~sircmpwn/aerc
synced 2024-11-23 16:42:07 +01:00
11 lines
134 B
Go
11 lines
134 B
Go
package lib
|
|
|
|
import (
|
|
"os/exec"
|
|
)
|
|
|
|
func OpenFile(filename string) error {
|
|
cmd := exec.Command("open", filename)
|
|
return cmd.Run()
|
|
}
|