Skip to content

Avoid exhausting argument limit for windows cmd.exe #1178

@jordwalke

Description

@jordwalke

For very large build commands, dune can quickly exhaust the command line length supported by windows cmd.exe:

https://support.microsoft.com/en-us/help/830473/command-prompt-cmd-exe-command-line-string-limitation

I believe Dune could/should detect when hitting this limit and then either break it up into several smaller compile commands, or create a batch file then run that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions