Couldn't you just create a little test task that runs "env"?
exportsubcommand hasn’t been supported since the introduction of
launchd2 in 10.10. I’d appreciate you filing a bug against the man page for it continuing to mention it. Please post your bug number, just for the record.
Share and Enjoy
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"