X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,RCVD_NUMERIC_HELO,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: =?ISO-8859-1?Q?Ren=E9_Berber?= Subject: Re: No Output When Running Program From Sub Directory Date: Sat, 11 Apr 2009 21:38:18 -0500 Lines: 28 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.19) Gecko/20081209 Lightning/0.9 Thunderbird/2.0.0.19 Mnenhy/0.7.6.0 In-Reply-To: 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 Fabricio Guzman wrote: > This problem seems simple yet I've spent the last two days researching > and have been unsuccessful. > > I have a directory, "TopDir", with one subdirectory "SubDir". The > "TopDir" has a program called "libtool." If I'm in "TopDir" the > command "libtool --help" works as expected (I see the help text). > However, if I'm in "SubDir" and type the command "../libtool --help", > nothing shows up. I don't see any text and the shell simply returns > to a prompt. Am I not allowed to run programs residing in a different > directory? Directories have nothing to do with what you are seeing. ../libtool is equivalent only to ./libtool on the parent directory, what you did was execute the first libtool found on the PATH, to see which one is it try "which libtool". Of course if PATH contains . before any other directory then things would work as you expect, except that the libtool you are testing still doesn't output anything, is that libtool compiled to be a windows app? many windows console applications don't interact well with Cygwin, output is buffered and shows much later than expected, or doesn't show, windows pipes don't connect, etc. and things changed even more if you are using Cygwin 1.7 (works worse now). -- R.Berber -- 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/