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

Don't inherit stdin when building crate from source/branch #361

Merged
merged 1 commit into from
Aug 14, 2023

Conversation

mfussenegger
Copy link
Owner

To support something like:

git bisect run cr8 run-crate "$(pwd)" -e CRATE_HEAP_SIZE=4G -- @crash < $HOME/repro.sql

If the subprocess inherits the parent's stdin file descriptor, the build
process consumes the data from stdin, leaving nothing for the later
process.

To support something like:

    git bisect run cr8 run-crate "$(pwd)" -e CRATE_HEAP_SIZE=4G -- @craSH < $HOME/repro.sql

If the subprocess inherits the parent's stdin file descriptor, the build
process consumes the data from stdin, leaving nothing for the later
process.
@mfussenegger mfussenegger merged commit 58b7c16 into master Aug 14, 2023
6 checks passed
@mfussenegger mfussenegger deleted the cr8-build-stdin branch August 14, 2023 14:17
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

Successfully merging this pull request may close these issues.

1 participant