Comment by codedokode
3 years ago
> If it were possible to determine the program name in a way that was portable
Every decent OS in 2023 should provide a method for this.
3 years ago
> If it were possible to determine the program name in a way that was portable
Every decent OS in 2023 should provide a method for this.
>Every decent OS in 2023 should provide a method for this.
Yes, that's rather the problem—there isn't just one way to do that, which makes it a portability issue.