compute: add response to OUTPUT
This allows rejecting output filenames that are outside the repository, and also handles converting eg "-foo" to "./-foo" to prevent a command that it's passed to interpreting the output filename as a dashed option.
This commit is contained in:
parent
6a8e57f0e9
commit
81ce4264df
4 changed files with 19 additions and 12 deletions
|
@ -10,6 +10,7 @@
|
|||
module Utility.SafeCommand (
|
||||
CommandParam(..),
|
||||
toCommand,
|
||||
toCommand',
|
||||
boolSystem,
|
||||
boolSystem',
|
||||
boolSystemEnv,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue