Project

General

Profile

Feature #12748

Add wait-for-seconds feature to pwait(1)

Added by Dan McDonald about 2 months ago. Updated about 2 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

The review of #12676 reminded me that there's a need to wait for a process to exit, but with a limit on how long it should take.

There are some design decisions that need to be made before this can be built:
- CLI flag (-t? -s?)
- Appropriate exit value to indicate "process timed out"?
- Single-PID is trivial, and likely to the be the common case, but how does a combination of multiple PIDs AND a timeout value work?
- Related to multiple-PIDs, how verbose should the output be if -v is used? Should there be a -V (more verbose)?

History

#1

Updated by Patrick Mooney about 2 months ago

  • Description updated (diff)

Also available in: Atom PDF