Closed mcandre closed 5 years ago
I think the answer to this question is somewhat similar to my response to https://github.com/NuxiNL/cloudabi-utils/issues/11. Something like this could be built on top of what's there already. The argdata could be used to communicate this information to the process.
Let's close this issue to keep the discussion centralized.
Lacking the traditional
int argc, char **argv
entrypoint parameters for querying command line arguments, could program.h provide another way to obtain the name of the program? This is often useful for displaying accurate help command syntax for downstream users.