bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#67545: wrap-program gives different argv[0] for Python scripts


From: Rikard Nordgren
Subject: bug#67545: wrap-program gives different argv[0] for Python scripts
Date: Thu, 30 Nov 2023 14:06:07 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0

For example the meld package is using wrap-program and the name of the
actual meld executable will be .meld-real. The idea is that the -a
option to exec in the wrapper script should change the name of argv[0],
but for Python scripts this doesn't work. This means that when doing
"meld --version" it gives ".meld-real 3.22.0" instead of the expected
"meld 3.22.0". Any ideas on how this could be fixed?








När du har kontakt med oss på Uppsala universitet med e-post så innebär det att 
vi behandlar dina personuppgifter. För att läsa mer om hur vi gör det kan du 
läsa här: http://www.uu.se/om-uu/dataskydd-personuppgifter/

E-mailing Uppsala University means that we will process your personal data. For 
more information on how this is performed, please read here: 
http://www.uu.se/en/about-uu/data-protection-policy





reply via email to

[Prev in Thread] Current Thread [Next in Thread]