Subprocess call fails because CLI waits for reauth confirmation.
oci --profile DEFAULT --auth security_token iam region list
ERROR: This CLI session has expired, so it cannot currently be used to run commands
Do you want to re-authenticate your CLI session profile? [Y/n]:
https://github.com/oracle/oci-cli/blob/8a7e19161d142f3edce7a153fda824918d39a757/src/oci_cli/cli_util.py#L329