Distribution.Compat.ResponseFile

Cabal-3.16.0.0: A framework for packaging Haskell software

Safe Haskell | Safe-Inferred
Language | Haskell2010

Distribution.Compat.ResponseFile

Synopsis

- expandResponse :: [String] -> IO [String]
- escapeArgs :: [String] -> String

# Documentation

expandResponse :: [String] -> IO [String] Source #

The arg file / response file parser.

This is not a well-documented capability, and is a bit eccentric (try `cabal @foo @bar` to see what that does), but is crucial for allowing complex arguments to cabal and cabal-install when using command prompts with strongly-limited argument length.

escapeArgs :: [String] -> String #