8 lines
75 B
Text
8 lines
75 B
Text
![]() |
#!/bin/sh
|
||
|
while true; do
|
||
|
$@ &
|
||
|
PID=$!
|
||
|
inotifywait $1
|
||
|
kill $PID
|
||
|
done
|