Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loading hook library in 'open' no longer loads it in its children #39

Open
steven-michaud opened this issue Oct 14, 2022 · 0 comments
Open
Assignees
Labels

Comments

@steven-michaud
Copy link
Owner

It used to be that you could use the following syntax to load a hook library into an application (and all its children):

HC_INSERT_LIBRARY=/full/path/to/hook.dylib open /Applications/[Application].app

This no longer works. Now your hook library only gets loaded into open itself.

I expect this has been true for a while. But I don't often use this syntax, so I didn't notice it. I'll try to restore the original behavior. In the meantime you can use the following syntax as a workaround:

HC_INSERT_LIBRARY=/full/path/to/hook.dylib open /Applications/[Application].app/Contents/MacOS/[Application]
@steven-michaud steven-michaud self-assigned this Oct 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant