    {-# 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 pid :: Int
    pid = FilePath -> [Text] -> Sh ()
    run_ "kill" ["-15", FilePath -> Text
    T.pack (FilePath -> Text) -> FilePath -> Text
    forall a b. (a -> b) -> a -> b
    $ Int -> FilePath
    forall a. Show a => a -> FilePath
    show Int
    pid]