avoid more build warnings on Windows
This commit is contained in:
parent
fc96861084
commit
a3224ce35b
12 changed files with 29 additions and 20 deletions
|
@ -93,10 +93,10 @@ catObjectDetails (CatFileHandle hdl repo) object = CoProcess.query hdl send rece
|
|||
, Param "-p"
|
||||
, Param query
|
||||
] repo
|
||||
(_, Just h, _, pid) <- withNullHandle $ \null ->
|
||||
(_, Just h, _, pid) <- withNullHandle $ \h ->
|
||||
createProcess p
|
||||
{ std_out = CreatePipe
|
||||
, std_err = UseHandle null
|
||||
, std_err = UseHandle h
|
||||
}
|
||||
fileEncoding h
|
||||
content <- L.hGetContents h
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue