This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Anthony Sottile
Recipients Anthony Sottile, siming85
Date 2019-05-27.16:38:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1558975087.43.0.0444435590477.issue37066@roundup.psfhosted.org>
In-reply-to
Content
You want:

os.execl('/bin/bash', 'bash', '--init-file', ...)


argv[0] is supposed to be the program name, your example puts `--init-file` as the program name
History
Date User Action Args
2019-05-27 16:38:07Anthony Sottilesetrecipients: + Anthony Sottile, siming85
2019-05-27 16:38:07Anthony Sottilesetmessageid: <1558975087.43.0.0444435590477.issue37066@roundup.psfhosted.org>
2019-05-27 16:38:07Anthony Sottilelinkissue37066 messages
2019-05-27 16:38:07Anthony Sottilecreate