From ceee7758a5a64af59cc35ebc3f1b8c1b334eecab Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 22 Sep 2018 11:33:08 -0400 Subject: [PATCH] fix \ escaping --- Utility/Process.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Utility/Process.hs b/Utility/Process.hs index e6d94630d1..c8b187abb2 100644 --- a/Utility/Process.hs +++ b/Utility/Process.hs @@ -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.