feat: add v2 task control and asynchronous isolated workers
This commit is contained in:
@@ -618,6 +618,7 @@ int os_run_capture_token(const char *cwd, const char *const argv[],
|
||||
n == 0)
|
||||
break;
|
||||
os_cap_append(&buf, &len, &cap, max_out, tmp, n, &truncated);
|
||||
os_observe_output(tmp, n);
|
||||
idle = 0;
|
||||
} else if (reaped) {
|
||||
Sleep(idle++ < 50 ? 1 : 20);
|
||||
|
||||
Reference in New Issue
Block a user