/*******************************************************************************
*
* Copyright (c) 2026 Haixing Hu.
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0.
*
******************************************************************************/
use Duration;
/// Polling interval used while waiting for a child process with timeout.
pub const WAIT_POLL_INTERVAL: Duration = from_millis;
/// Calculates how long to sleep before polling the child again.
pub