{-# LANGUAGE OverloadedStrings #-} -- | commands that only work on Unix module Shelly.Unix ( kill ) where import Shelly import qualified Data.Text as T kill :: Int -> Sh () kill :: Int -> Sh () kill Int pid = FilePath -> [Text] -> Sh () run_ FilePath "kill" [Text "-15", String -> Text T.pack (String -> Text) -> String -> Text forall a b. (a -> b) -> a -> b $ Int -> String forall a. Show a => a -> String show Int pid]