test_popen_sh/subdir/entry.sh

12 lines
163 B
Bash
Raw Permalink Normal View History

2024-10-10 20:53:37 +09:00
#!/bin/env bash
set -euo pipefail
echo "Hi, this is entry.sh"
echo "pwd:"
pwd
echo "\${0}: ${0}"
cd "$(dirname "${0}")"
./called.sh
echo $?
echo "returned"
exit 0