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

migrate response file support to process directly? #142

Open
gbaz opened this issue Mar 8, 2019 · 2 comments
Open

migrate response file support to process directly? #142

gbaz opened this issue Mar 8, 2019 · 2 comments

Comments

@gbaz
Copy link

gbaz commented Mar 8, 2019

Given that lots of programs now support response files, and that we're teaching haskell tools one-by-one to support response files, do we want to put support for calling programs with response files into the process library directly? I'd suggest a new external lib, but the things we want to provide this to are all rather low in the dep-tree themselves -- i.e., ghc itself, cabal, hsc2hs, etc.

I'd think we could just e.g. port over http://hackage.haskell.org/package/Cabal-2.4.1.0/docs/Distribution-Simple-Program-ResponseFile.html

@hvr
Copy link
Member

hvr commented Mar 8, 2019

Note that we wouldn't be able to use this neither in tools such as Cabal nor in hsc2hs any time soon as we wouldn't want to impose a tight lower bound on process. So this would be something for the long-term future.

@snoyberg
Copy link
Collaborator

snoyberg commented Mar 9, 2019

Nice idea. I have no problem with such a change, and don't have much opinion on the bike shed color. @gbaz were you interested in sending a PR yourself, or just kicking off the conversation here?

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