shellingham icon indicating copy to clipboard operation
shellingham copied to clipboard

Add check for aarch64 on QEmu

Open sindre-nistad opened this issue 1 year ago • 0 comments

I discovered that shellingham did not detect the correct shell when running in Docker on a x64 machine while emulating linux/arm64.

Through some debugging, and inspecting the running code, I saw the name variable in shellingham/posix/__init__.py:92 was qemu-aarch64. Adding that to the regex solved the problem.

I hope you find this useful, and thanks for a good package 😊

sindre-nistad avatar Aug 30 '24 13:08 sindre-nistad