Skip to content

Facing the error "The command line is too long." when cmd array is very long #980

@rajaramaniyer

Description

@rajaramaniyer

I am on Windows and OS command length limit is 8191

I traced the line where it fails and it is here:

output = IO.popen(env, cmd, popen_options) do |io|

I cannot increase the number of process just to reduce the number of tests in each group. Machine resources are not enough to increase it anymore.

Can we not batch it and run?

Any help in this appreciated!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions