In a C program I can write argv[0] and the new name shows up in a ps listing.
How can I do this in bash?
Just for the record, even though it does not exactly answer the original poster's question, this is something trivial to do with zsh:
zsh
ARGV0=emacs nethack