@@ -22,7 +22,7 @@ import System.Environment
2222import System.FilePath
2323import qualified System.Info
2424import System.IO (hIsTerminalDevice, stdout)
25−import System.Posix.Process (executeFile)
25+import System.Process (rawSystem)
2626
2727import Obelisk.App
2828import Obelisk.CliApp
@@ -366,7 +366,8 @@ main' argsCfg = do
366366 Just impl -> do
367367 -- Invoke the real implementation, using --no-handoff to prevent infinite recursion
368368 putLog Debug $ "Handing off to " <> T.pack impl
369− liftIO $ executeFile impl False ("--no-handoff" : myArgs) Nothing
369+ _ <- liftIO $ rawSystem impl ("--no-handoff" : myArgs)
370+ return ()
370371 case myArgs of
371372 "--no-handoff" : as -> go as -- If we've been told not to hand off, don't hand off
372373 origPath:inPath:outPath:preprocessorName:packagePaths