# Temporary-ospath: temporary file and directory support based on OsPath

**URL:** <https://discourse.haskell.org/t/temporary-ospath-temporary-file-and-directory-support-based-on-ospath/13770>\
**Category:** Announcements\
**Created:** [March 7, 2026, 11:26am UTC](https://discourse.haskell.org/t/temporary-ospath-temporary-file-and-directory-support-based-on-ospath/13770 "2026-03-07T11:26:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bodigrim](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.haskell.org/bodigrim/32/1457_2.png) [@Bodigrim](https://discourse.haskell.org/u/Bodigrim)\
**Post date:** [March 7, 2026, 11:26am UTC](https://discourse.haskell.org/t/temporary-ospath-temporary-file-and-directory-support-based-on-ospath/13770/1 "2026-03-07T11:26:38Z")

</div>

> **[temporary-ospath](https://hackage.haskell.org/package/temporary-ospath)**
>
> Portable temporary file and directory support

I’m happy to announce the release of `temporary-ospath`, which is a fork of [`temporary`](https://hackage.haskell.org/package/temporary), but using an efficient [`OsPath`](https://hackage-content.haskell.org/package/filepath/docs/System-OsPath.html) instead of `type FilePath = String`. Feedback welcome 🙂

---

<div class="post-metadata">

**Author:** ![hasufell](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.haskell.org/hasufell/32/1250_2.png) [@hasufell](https://discourse.haskell.org/u/hasufell)\
**Post date:** [March 7, 2026, 12:24pm UTC](https://discourse.haskell.org/t/temporary-ospath-temporary-file-and-directory-support-based-on-ospath/13770/2 "2026-03-07T12:24:50Z")

</div>

Awesome!

There’s more “call for help”:

- [Initial port to os-string by 0rphee · Pull Request #504 · pcapriotti/optparse-applicative · GitHub](https://github.com/pcapriotti/optparse-applicative/pull/504)
- [Support `OsString` · Issue #252 · haskell/process · GitHub](https://github.com/haskell/process/issues/252)

OsString support is still lacking in a few key areas.
