You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But Poetry seems to change sys.argv[0] to the full path of the script, instead of keeping what the user actually typed in. Why? Is there any way around this?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Activity
[-]sys.argv[0] is changed in scripts?[/-][+]Poetry changes sys.argv[0]?[/+]fridex commentedon Oct 7, 2018
kasper9n commentedon Oct 7, 2018
@fridex That doesn't really fix the problem. If the user did type in the full path with that code, he would only get the basename.
fridex commentedon Oct 7, 2018
Ah, OK. You want to replicate the whole invocation. That makes sense 👍
kasper9n commentedon Oct 7, 2018
@fridex Correct :)
stale commentedon Nov 13, 2019
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
chdsbd commentedon Nov 13, 2019
This is still an issue. I think it relates to #965.
finswimmer commentedon Jul 1, 2022
Duplicate of #965
github-actions commentedon Mar 1, 2024
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.