asynctools icon indicating copy to clipboard operation
asynctools copied to clipboard

Fix a bug in the `execProcess` procedure

Open bobeff opened this issue 3 years ago • 1 comments

There was a race condition in the execProcess procedure. The future for awaiting a process to finish should be created before the process actually finishes.

bobeff avatar Jul 08 '21 20:07 bobeff

Using this branch, I got another kind of race condition: "Process does not exist" It seem that in some cases, you can't use "waitForExit" just after "startProcess" finished

Menduist avatar May 20 '22 11:05 Menduist