7 lines
108 B
Plaintext
7 lines
108 B
Plaintext
|
#!/bin/bash
|
||
|
parts=($1)
|
||
|
|
||
|
killall -q ${parts[0]}
|
||
|
while pgrep -x ${parts[0]} >/dev/null; do sleep 1; done
|
||
|
$1 &
|