putting-the-you-in-cpu
putting-the-you-in-cpu copied to clipboard
3-how-to-run-a-program.mdx Fix Typo
The missing "A" is probably a typo.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
putting-the-you-in-cpu | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Sep 19, 2023 5:50am |
I've a similar speculation about this one! @kognise
@sanch7
Above the code example it literally says
It just so happens that binfmt_script is one of those places that assumes argv[0] is the program name. It always removes argv[0], and then adds the following to the start of argv:
So the "A" from the argv
is removed because it's assumed to be the name of the program (even if it's not, so this is the "wonky thing")