{
    "content": [
        {
            "type": "text",
            "text": "# wait (perldoc)\n\n## TLDR\n\n> Wait for a process to complete before proceeding.\n\n- Wait for a process to finish given its process ID (PID) and return its exit status:\n  `wait {{pid}}`\n- Wait for all processes known to the invoking shell to finish:\n  `wait`\n- Wait for a job to finish (run `jobs` to find the job number):\n  `wait %{{job_number}}`\n- Display help:\n  `wait --help`\n\n*Source: tldr-pages*\n\n---\n\n## Full Content\n\n"
        }
    ],
    "structuredContent": {
        "command": "wait",
        "section": "-f",
        "mode": "perldoc",
        "summary": null,
        "synopsis": null,
        "tldr_summary": "Wait for a process to complete before proceeding.",
        "tldr_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"
            }
        ],
        "tldr_source": "official",
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [],
        "sections": []
    }
}