mirror of
https://github.com/commercialhaskell/stackage-server.git
synced 2026-01-12 04:08:29 +01:00
8 lines
159 B
Haskell
8 lines
159 B
Haskell
module Handler.System where
|
|
|
|
import Import
|
|
import System.Process (readProcess)
|
|
|
|
getSystemR :: Handler String
|
|
getSystemR = liftIO $ readProcess "df" ["-ih"] ""
|