Index: shell/source/unix/exec/shellexec.cxx
--- shell/source/unix/exec/shellexec.cxx.orig
+++ shell/source/unix/exec/shellexec.cxx
@@ -250,7 +250,7 @@ void SAL_CALL ShellExec::execute( const OUString& aCom
     }
 
     OString cmd =
-#ifdef LINUX
+#if defined(LINUX) || defined(__OpenBSD__)
         // avoid blocking (call it in background)
         "( " + aBuffer +  " ) &";
 #else
