Apple Intelligence is now available on iPhone, iPad, and Mac!

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

`launchctl export` doesn't work

According to the man page of

launchctl
, there is an
export
command:

export   Export all of the environment variables of launchd forusein a shell eval statement.

However, when I try to use this command, I get the following message.

Unrecognized subcommand:exportUsage: launchctl <subcommand>...| help [subcommand]

What's going on here? Did the command exist at some point, but was removed for some reason, and someone forgot to update the man page? If so, I'd certainly like to request that command be readded – it's very useful indeed for debugging purposes, among others.

MacBook Pro with Retina display, macOS High Sierra (10.13.5)

Posted on Jul 5, 2018 10:02 AM

Reply

Similar questions

1 reply

`launchctl export` doesn't work

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.