Skip to content

Latest commit

 

History

History
55 lines (34 loc) · 1.06 KB

README.md

File metadata and controls

55 lines (34 loc) · 1.06 KB

waitend

This command line tool for Unix executes a command when another process is ended.

usage: waitend [-h] [--delay DELAY] [--mines] process cmd

Execute a command when another process is ended

positional arguments:

  • process the PID or the commandname of the pending process
  • cmd command executed when pid finished

optional arguments:

  • -h, --help show this help message and exit
  • --delay DELAY wait DELAY seconds between two process checks
  • --mines search only in processes owned by user

By default, waitproc waits 60 seconds between two checks.

The --mines could be useful when watchedProcess is a name.

Requirements

  • Python 3.x
  • ps

Releases

The archives are hosted at http://stephane.yaal.fr/waitend/

The repository is hosted at https://github.com/sblondon/waitend

Install

in a terminal:

# cd src/
# python3 setup.py install --install-scripts=/usr/local/bin

Licence

Released under GNU General Public License version 3 or (at your option) any later version.