timeout Verified for current stable LTS

Timeout Command: Preserve Exit Status On Timeout

Use for preserve exit status on timeout with Timeout. Exact CLI syntax to preserve exit status on timeout using Timeout.

When to use this: Use for preserve exit status on timeout with Timeout.

Command Syntax

timeout -p <1s|1m|1h|1d|...> <command>

Command Breakdown

-p
Command Option
Tool-specific option used by this command invocation.

FAQ

Purpose: Exact syntax to preserve exit status on timeout using Timeout.

Test path: Replace placeholders and run destructive commands in a disposable workspace first.

Flag behavior: Tool version, platform, and shell can change behavior.

Improve This Command

Suggest a correction, safer default, or version-specific note for this entry.

Related Operations

Back to Timeout directory