databricks-cli/libs/process/testdata/parent.sh

7 lines
169 B
Bash
Executable File

#!/bin/bash
# Launch background process.
(sleep 5; echo "abc" > $2) &
# Save PID of the background process to the file specified by the first argument.
echo -n $! > $1