wait

Wait for a process to complete before proceeding. More information: <https://manned.org/wait>.

Install

All systems
curl cmd.cat/wait.sh
Debian Debian
apt-get install execline
Ubuntu
apt-get install execline
Alpine
apk add bash
Arch Arch Linux
pacman -S bash
image/svg+xml Kali Linux
apt-get install execline
CentOS
yum install bash
Fedora
dnf install bash
Windows (WSL2)
sudo apt-get update sudo apt-get install execline
OS X
brew install bash
Raspbian
apt-get install bash
Docker
docker run cmd.cat/wait wait powered by Commando

Wait for a process to complete before proceeding. More information: <https://manned.org/wait>.

  • Wait for a process to finish given its process ID (PID) and return its exit status:
    wait pid
  • Wait for all processes known to the invoking shell to finish:
    wait

© tl;dr; authors and contributors