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