Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow specifying file extension in mktemp #36982

Open
simeonschaub opened this issue Aug 9, 2020 · 2 comments
Open

allow specifying file extension in mktemp #36982

simeonschaub opened this issue Aug 9, 2020 · 2 comments

Comments

@simeonschaub
Copy link
Member

It would be quite useful in many cases to allow the user to specify a specific file extension in mktemp. Looking at the implementation of mktemp, I don't think this should be too difficult to add.

@maleadt
Copy link
Member

maleadt commented Aug 10, 2020

Ref #13969

@kbarros
Copy link

kbarros commented Aug 21, 2022

I guess as a workaround one could use mktempdir(). Inside that directory, there is freedom to create files with arbitrary names?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants