Repository navigation
Return error when external command core dumped - #5908
Conversation
Fixes #5903 Signed-off-by: nibon7 <[email protected]>
Signed-off-by: nibon7 <[email protected]>
Signed-off-by: nibon7 <[email protected]>
|
I'm having a hard time getting over the addition of 100ms blocking on every command. |
If |
|
ok, that sounds more reasonable. thanks for explaining. let's give it a try. |
|
I'm looking at this again in relation to #5960 and I think this was implemented incorrectly. We spin up a background thread, and the exit status is sent from inside that thread. But the code that reads the exit status runs immediately after the background thread is started. And so it seems like this code can only successfully check the exit status of a process that exits within ~100ms. Which isn't quite right - we should be able to get the exit status even if a process exits after running for a long time. |
This reverts commit 5d00ece.
Fixes #5903
Description
(description of your pull request here)
Tests
Make sure you've done the following:
Make sure you've run and fixed any issues with these commands:
cargo fmt --all -- --checkto check standard code formatting (cargo fmt --allapplies these changes)cargo clippy --workspace --features=extra -- -D warnings -D clippy::unwrap_used -A clippy::needless_collectto check that you're using the standard code stylecargo test --workspace --features=extrato check that all the tests pass