[Tutor] subprocess.Popen basics
Todd
norrist at gmail.com
Tue Oct 28 21:27:28 CET 2014
Centos has SELinux enabled by default. I dont know if SELinux is causing
your problem, but it is always worth looking at.
SELinux can keep a process from accessing files or executing another
process.
Try temporarily disabling SELinux by running setenforce=0 as root. Then
see if python does what you expect.
On Tue, Oct 28, 2014 at 3:04 PM, Alan Gauld <alan.gauld at btinternet.com>
wrote:
> On 28/10/14 19:23, Adam Jensen wrote:
>
> platform. This is what I've discovered so far:
>>
>> | | CentOS-6.5 | OpenBSD-5.5 | DragonFly-3.8.2 |
>> | bufsize | Python-3.4.1 | Python-3.3.2 | Python-3.3.3 |
>> |---------------------+--------------+--------------+-----------------|
>> | default | hangs | works | works |
>> | -1 | hangs | works | works |
>> | 0 | works | works | works |
>> | 1 | hangs | works | works |
>> | >=2 & <(# of bytes) | works | works | works |
>> | >=(# of bytes) | hangs | works | works |
>>
>>
> Looks like you might be best trying this on a CentOS forum/list.
> Its not exactly a mainstream distro so the number of folks on this list
> who can help is probably limited and even on the main Python list there
> probably are only a handful of CentOS users. And it looks increasingly like
> a CentOS configuration issue.
>
> --
> Alan G
> Author of the Learn to Program web site
> http://www.alan-g.me.uk/
> http://www.flickr.com/photos/alangauldphotos
>
> _______________________________________________
> Tutor maillist - Tutor at python.org
> To unsubscribe or change subscription options:
> https://mail.python.org/mailman/listinfo/tutor
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20141028/7ebaea3d/attachment.html>
More information about the Tutor
mailing list