Message173093
| Author |
brousch |
| Recipients |
brousch |
| Date |
2012年10月16日.21:00:02 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1350421202.49.0.905467284446.issue16255@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
The subprocess.Popen function uses /bin/sh in Unix environments. Android is detected as a Unix environemnt, but has moved that executable to /system/bin/sh. This can be worked around by adding a parameter "executable='/system/bin/sh'" to the call, but it is impractical to do this for every call to Popen in every library and codebase. For subprocess.Popen to work on Android, Popen needs to be able to detect if /bin/sh is not there and try /system/bin/sh instead. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年10月16日 21:00:02 | brousch | set | recipients:
+ brousch |
| 2012年10月16日 21:00:02 | brousch | set | messageid: <1350421202.49.0.905467284446.issue16255@psf.upfronthosting.co.za> |
| 2012年10月16日 21:00:02 | brousch | link | issue16255 messages |
| 2012年10月16日 21:00:02 | brousch | create |
|