@@ -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
@@ -363,7 +363,9 @@ main' argsCfg = do
363363 Just impl -> do
364364 -- Invoke the real implementation, using --no-handoff to prevent infinite recursion
365365 putLog Debug $ "Handing off to " <> T.pack impl
366− liftIO $ executeFile impl False ("--no-handoff" : myArgs) Nothing
366+ --liftIO $ executeFile impl False ("--no-handoff" : myArgs) Nothing
367+ _ <- liftIO $ rawSystem impl ("--no-handoff" : myArgs)
368+ return ()
367369 case myArgs of
368370 "--no-handoff" : as -> go as -- If we've been told not to hand off, don't hand off
369371 origPath:inPath:outPath:preprocessorName:packagePaths