You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

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.