GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - aisk/timeout: A standalone implementation of the timeout command.

BranchesTags
Open more actions menu

Latest commit

 

History

41 Commits
41 Commits

Folders and files

NameName
Last commit message
Last commit date
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
cbits.c
cbits.c
 
 
test.bash
test.bash
 
 
timeout.hs
timeout.hs
 
 

Repository files navigation

timeout - GNU Coreutils Compatible timeout Command

Image by T5, source: https://www.pixiv.net/artworks/108988374

A standalone implementation of the timeout command.

Purpose

macOS does not include the GNU Coreutils timeout command by default. While you can install the full coreutils package via Homebrew, this introduces many unnecessary commands and potential path conflicts.

This project provides a standalone, lightweight timeout command implementation that allows you to use timeout functionality without installing the entire GNU Coreutils suite.

Installation

Via homebrew

brew tap aisk/tap
brew trust aisk/tap
brew install aisk/tap/timeout

From source

make
sudo cp timeout /usr/local/bin/

Usage Examples

# Run command with 5 second timeout
timeout 5s long-running-command

# 2 minute timeout
timeout 2m backup-script.sh

Building

make        # Compile
make clean  # Clean build artifacts
make format # Format code

About

A standalone implementation of the timeout command.

Topics

clicommand-linehaskellshell

Resources

Readme
GPL-2.0 license
Activity

Stars

59 stars

Watchers

0 watching

Forks

2 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.