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

Break command args into chunks under system limit like what xargs does #63

Merged
merged 1 commit into from
Mar 22, 2024

Conversation

watashi
Copy link
Contributor

@watashi watashi commented Mar 22, 2024

Closes #62

We removed the depedency on xargs to for better windows compatibility. However, xargs was mainly introduced to break shell call into multiple ones to avoid hitting the system limit when we have tens of thousands files. We need to simulate this behavior.

Closes facebookincubator#62

We removed the depedency on xargs to for better windows compatibility.
However, xargs was mainly introduced to break shell call into multiple
ones to avoid hitting the system limit when we have tens of thousands
files. We need to simulate this behavior.
@facebook-github-bot facebook-github-bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Mar 22, 2024
@josefs josefs merged commit 13235e1 into facebookincubator:main Mar 22, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed Do not delete this pull request or issue due to inactivity.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

readCreateProcessWithExitCode: runInteractiveProcess: exec: resource exhausted (Argument list too long)
3 participants