It should be enough, and more appropriate, to simply preserve argv[0] in wrappers. Ludo’.