( child: SpawnedDetachedProcess, )
| 177 | }); |
| 178 | |
| 179 | export const terminateSpawnedDetachedProcess = ( |
| 180 | child: SpawnedDetachedProcess, |
| 181 | ): Effect.Effect<void, Error> => |
| 182 | process.platform === "win32" |
| 183 | ? signalPid(child.pid) |
| 184 | : signalPid(-child.pid).pipe(Effect.catch(() => signalPid(child.pid))); |
| 185 | |
| 186 | const waitForCondition = <E, R>(input: { |
| 187 | readonly check: Effect.Effect<boolean, E, R>; |
no test coverage detected