Skip to content

sblondon/waitend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Execute a command when another process is ended

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published