smserver icon indicating copy to clipboard operation
smserver copied to clipboard

Set first ProgramArgument to the full file path

Open FoleyDiver opened this issue 2 years ago • 1 comments

FoleyDiver avatar Jan 12 '22 11:01 FoleyDiver

By convention, the first argument when calling a program is either the file name or the full path to the binary. This stack exchange question has some good info:

https://unix.stackexchange.com/questions/187666/why-do-we-have-to-pass-the-file-name-twice-in-exec-functions

Just wanted to help demystify it and remove that comment 😄 . Let me know if I'm out of line.

FoleyDiver avatar Jan 12 '22 11:01 FoleyDiver

Bump @iandwelker (sorry)

FoleyDiver avatar Oct 04 '22 14:10 FoleyDiver

@FoleyDiver So sorry that I've been ignoring this - I haven't been actively maintaining this project recently but this is a valuable addition, thanks for submitting it. If you'd still like to get it merged in, I'd be happy to re-open and merge this in.

itsjunetime avatar Oct 20 '22 17:10 itsjunetime

No worries at all. Sure, feel free to re-open and merge.

FoleyDiver avatar Oct 20 '22 19:10 FoleyDiver