-
-
21 Oct 2021 04:09:01 UTC
- Distribution: Proc-Background
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Repository
- Issues (4)
- Testers (1144 / 2 / 0)
- Kwalitee
Bus factor: 1- 70.24% Coverage
- License: perl_5
- Activity
24 month- Tools
- Download (31.64KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- Dependencies
- unknown
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
timed-process - Run background process for limited amount of time
SYNOPSIS
timed-process [-e exit_status] timeout command [<arg> [<arg> ...]]
DESCRIPTION
This script runs command for a specified amount of time and if it doesn't finish, it kills the process. If command runs and exits before the given timeout, timed-process returns the exit value of command. If command did not exit before timeout seconds, then timed-process will kill the process and returns an exit value of 255, unless the -e command line option is set, which instructs timed-process to return a different exit value. This allows the user of timed-process to determine if the process ended normally or was killed.
Module Install Instructions
To install Proc::Background, copy and paste the appropriate command in to your terminal.
cpanm Proc::Background
perl -MCPAN -e shell install Proc::Background
For more information on module installation, please visit the detailed CPAN module installation guide.