diff --git a/display/pkg/main.go b/display/pkg/main.go index 834c71e..9813182 100644 --- a/display/pkg/main.go +++ b/display/pkg/main.go @@ -48,7 +48,7 @@ func GetDeviceMac() (string, error) { } func OpenPresentation(path string) error { - cmd := exec.Command("bash", "-c", "-r", fmt.Sprintf("soffice --show %s -nologo -norestore", path)) + cmd := exec.Command("soffice", "--show", path, "--nologo", "--norestore") result := shared.RunShellCommand(cmd) if result.ExitCode != 0 { return errors.New(result.Stderr)