Sample Header Ad - 728x90

POSIX Shell: `exec` with changed arg0

4 votes
1 answer
225 views
I want to exec a program and control it's arguments including arg0 and environment. Using C I could go for execve. Can I do this in POSIX shell?
Asked by Patrick Böker (563 rep)
Mar 15, 2024, 09:45 PM
Last activity: Mar 16, 2024, 10:55 AM