more accurate type
This commit is contained in:
parent
11efa7ef60
commit
d04bfceaad
1 changed files with 1 additions and 1 deletions
|
@ -110,7 +110,7 @@ boolSystem command params = do
|
||||||
executeFile command True params Nothing
|
executeFile command True params Nothing
|
||||||
|
|
||||||
{- Escapes a filename to be safely able to be exposed to the shell. -}
|
{- Escapes a filename to be safely able to be exposed to the shell. -}
|
||||||
shellEscape :: FilePath -> FilePath
|
shellEscape :: FilePath -> String
|
||||||
shellEscape f = "'" ++ quote ++ "'"
|
shellEscape f = "'" ++ quote ++ "'"
|
||||||
where
|
where
|
||||||
-- replace ' with '"'"'
|
-- replace ' with '"'"'
|
||||||
|
|
Loading…
Reference in a new issue