{
    "mode": "perldoc",
    "parameter": "wait",
    "section": "-f",
    "url": "https://www.chedong.com/phpMan.php/perldoc/wait/json",
    "generated": "2026-06-03T05:23:01Z",
    "sections": [],
    "flags": [],
    "examples": [],
    "see_also": [],
    "tldr": {
        "source": "official",
        "description": "Wait for a process to complete before proceeding.",
        "examples": [
            {
                "description": "Wait for a process to finish given its process ID (PID) and return its exit status",
                "command": "wait {{pid}}"
            },
            {
                "description": "Wait for all processes known to the invoking shell to finish",
                "command": "wait"
            },
            {
                "description": "Wait for a job to finish (run `jobs` to find the job number)",
                "command": "wait %{{job_number}}"
            },
            {
                "description": "Display help",
                "command": "wait --help"
            }
        ]
    }
}