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 <1544794257.13.0.788709270274.issue35348@psf.upfronthosting.co.za>
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: <1544794257.13.0.788709270274.issue35348@psf.upfronthosting.co.za>
2018-12-14 13:30:57serhiy.storchakalinkissue35348 messages
2018-12-14 13:30:57serhiy.storchakacreate