Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
fork, wait for pid, exec something when pid is dead
C
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
README.md
waitandexec.c

README.md

waitandexec

Wait for pid, exec something when pid is dead.

Usage

Execute from your command:

waitandexec <pid> <program> [arg1] [arg2] [argN]

This will go background and wait for desired pid to die. After that selected program will start with passed arguments.

Authors

Something went wrong with that request. Please try again.