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 serhiy.storchaka
Recipients Windson Yang, lemburg, serhiy.storchaka, vstinner
Date 2018-12-14.13:30:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <[email protected]>
In-reply-to
Content
I tested that the "-b" option is supported on Linux, *BSD and OpenIndiana. But it is not a part of POSIX. So perhaps we should fall back to "file" without "-b" if "file -b" failed.

We can also check that the output starts with executable+': ' and strip this prefix.
History
Date User Action Args
2018-12-14 13:30:57serhiy.storchakasetrecipients: + serhiy.storchaka, lemburg, vstinner, Windson Yang
2018-12-14 13:30:57serhiy.storchakasetmessageid: <[email protected]>
2018-12-14 13:30:57serhiy.storchakalinkissue35348 messages
2018-12-14 13:30:57serhiy.storchakacreate