community.general/tests/integration/targets/pids/files/obtainpid.sh

4 lines
49 B
Bash

#!/usr/bin/env bash
"$1" 100 &
echo "$!" > "$2"