Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

timeout-cli

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

timeout-cli

An Rx-version of child_process.spawn

  • 0.2.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1.5K
increased by6.06%
Maintainers
1
Weekly downloads
 
Created
Source

timeout-cli: GNU timeout for node

This utility reimplements GNU timeout, but for operating systems that don't support it, like macOS and Windows.

To Install:

npm i -g timeout-cli

Usage:

Usage: timeout -- some-cmd arg1 arg2 arg3
Execute a command and exit if it doesn't terminate in a certain amount of time

Options:
  -t, --timeout     is a floating point number with an optional suffix: 's' for
                    seconds (the default), 'm' for minutes, 'h' for hours or 'd'
                    for days.                                           [string]
  -o, --on-timeout  if set, command will be executed when a timeout occurs
                                                                        [string]
  -v, --version     Print the current version number and exit

Keywords

FAQs

Package last updated on 06 Mar 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc