News for hackers. Stuff that matters.
Re:Self-contained Linux applications with lone Lisp by eptcyka on Tuesday January 23, 2024 @08:05AM (#39102823)
The first arg to your program is a path to the binary that's being executed. No /proc required.
Re:Self-contained Linux applications with lone Lisp by electroly on Tuesday January 23, 2024 @10:22AM (#39104561)
It's usually the path to the binary being executed, but you can pass anything you want when you exec. e.g. execl("/bin/ls", "definitely not /bin/ls", NULL);