Last active 1444608553

Script that waits for the specified process to start before returning

waitfor Raw
1#!/bin/bash
2until ps aux | grep -v grep | grep -v "waitfor" | grep "$1" > /dev/null
3do
4 sleep 0.1
5done