Closed mmhat closed 3 months ago
This looks pretty plausible to me, but I'm not an expert with the low level details. There are various people who are better qualified. Perhaps one of them can chime in.
@bgamari @hasufell @snoyberg @Mistuke (or someone else?)
There are two differences:
withFilePath
uses getFileSystemEncoding
, withCString
uses getForeignEncoding
withFilePath
checks for interior nulls now (not sure since which base version) and barfs out in case it finds anyTbh, all of those s*ck. But that's another discussion: https://github.com/haskell/process/issues/252
withFilePath
checks for interior nulls now (not sure since which base version) and barfs out in case it finds any
I think it is since base-4.18.0.0
(GHC 9.6.1).
If there are no further objections: Who is willing to merge this?
OK, released as https://hackage.haskell.org/package/process-1.6.22.0. Thanks @mmhat!
Fixes #319