X-Spam-Check-By: sourceware.org Message-ID: <82f04dc40705040742w2a8633dbuef1d6f67f4aa40b1@mail.gmail.com> Date: Fri, 4 May 2007 09:42:45 -0500 From: "Dan Armbrust" To: "Jeff Hawk" Subject: Re: popen problems Cc: "cygwin AT cygwin DOT com" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <82f04dc40705040736w3fbdb9a8r6fd9b0a9a8f9ee42 AT mail DOT gmail DOT com> X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com I've tried both - I reran the installer and went back to the other python it offered - 2.4.3 - I get the same problem with 2.5. On 5/4/07, Jeff Hawk wrote: > > > > -----Original Message----- > > From: On Behalf > > Of Dan Armbrust > > Sent: Friday, May 04, 2007 9:36 AM > > To: cygwin AT cygwin DOT com > > Subject: popen problems > > > > I made the mistake of upgrading a cygwin install that was working. > > > > Now: > > > > python > > Python 2.4.3 (#1, May 18 2006, 07:40:45) > > [GCC 3.3.3 (cygwin special)] on cygwin > > Type "help", "copyright", "credits" or "license" for more information. > > >>> import os.path > > >>> os.popen('ls').readline() > > Traceback (most recent call last): > > File "", line 1, in ? > > OSError: [Errno 13] Permission denied > > > > > > What on earth happened? > > > > Any idea how I can fix this? I can't open anything with popen from > > python. > > > > > What did you actually upgrade? > > > The current python version in Cygwin is 2.5 (yours is 2.4.3) > > --Jeff > > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/