hw-polysemy-0.2.14.4: Opinionated polysemy library
Safe HaskellSafe-Inferred
LanguageHaskell2010

HaskellWorks.Polysemy.Hedgehog.Process.Internal

Synopsis

Documentation

argQuote :: String -> String Source #

Format argument for a shell CLI command.

This includes automatically embedding string in double quotes if necessary, including any necessary escaping.

Note, this function does not cover all the edge cases for shell processing, so avoid use in production code.