4 ms·
Stickiness of architecture is a change from how Rosetta worked in the PowerPC to Intel transition: in macOS Big Sur child processes will prefer the arch of the
by xenadu02 6y ago
Stickiness of architecture is a change from how Rosetta worked in the PowerPC to Intel transition: in macOS Big Sur child processes will prefer the arch of the parent process if one is available to maximize compatibility. So for example launching x86_64 sh will cause a python invocation from that shell to also be x86_64.
The "arch" utility is your escape hatch to switch the preferred arch for the spawned process and all of its children.
- api 6y agoWould be easy to make iTerm2 launch arch -x86_64 <shell>