shelly-1.12.1.1: src/Shelly/Unix.hs
{-# 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 pid = run_ "kill" ["-15", T.pack $ show pid]