fix \ escaping

This commit is contained in:
Joey Hess 2018-09-22 11:33:08 -04:00
parent d2c351f547
commit ceee7758a5
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -250,7 +250,7 @@ devNull :: FilePath
devNull = "/dev/null"
#else
-- Use device namespace to prevent GHC from rewriting path
devNull = "\\.\NUL"
devNull = "\\\\.\\NUL"
#endif
-- | Extract a desired handle from createProcess's tuple.