-- |
-- attempts to auto-detect where lambdabot is located, but requires "which"
--
findPosixLambdabot :: IO FilePath
findPosixLambdabot = do
  p <- readProcess "which" ["lambdabot"] ""
  liftM init $ readProcess "dirname" [p] ""

-- | 
-- let's you set the lambdabot start up flags such as
--
-- @--online@ 
-- @--restricted@
--
findPosixLambdabot :: IO FilePath
findPosixLambdabot = do
  p <- readProcess "which" ["lambdabot"] ""
  liftM init $ readProcess "dirname" [p] ""

-- | 
-- let's you set the lambdabot start up flags such as
--
-- @--online@ 
-- @--restricted@
--
findPosixLambdabot = do
  p <- readProcess "which" ["lambdabot"] ""
  liftM init $ readProcess "dirname" [p] ""

-- | 
-- let's you set the lambdabot start up flags such as
--
-- @--online@ 
-- @--restricted@
--