[Bug 10571] New: busybox timeout options is not compatible with coreutils timeout

bugzilla at busybox.net bugzilla at busybox.net
Sun Dec 10 04:59:41 UTC 2017


https://bugs.busybox.net/show_bug.cgi?id=10571

            Bug ID: 10571
           Summary: busybox timeout options is not compatible with
                    coreutils timeout
           Product: Busybox
           Version: 1.27.x
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
          Assignee: unassigned at busybox.net
          Reporter: d77190 at mail.ru
                CC: busybox-cvs at busybox.net
  Target Milestone: ---

Here is the problem:
# ./busybox timeout --help
BusyBox v1.27.2 (2017-12-10 11:45:39 +07) multi-call binary.

Usage: timeout [-t SECS] [-s SIG] PROG ARGS

Runs PROG. Sends SIG to it if it is not gone in SECS seconds.
Defaults: SECS: 10, SIG: TERM.

# LANG=C timeout --help
Usage: timeout [OPTION] DURATION COMMAND [ARG]...
  or:  timeout [OPTION]
Start COMMAND, and kill it if still running after DURATION.


I think that better way is to use first arg as timeout if -t option is not
specified (and ignore -k option that missing in busybox timeout).

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the busybox-cvs mailing list