X-Spam-Check-By: sourceware.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17634.19312.57788.859430@clip.dia.fi.upm.es> Date: Wed, 16 Aug 2006 00:32:16 +0200 From: Pablo Chico de Guzmán Huerta To: cygwin AT cygwin DOT com Subject: How can I know if a Windows execution is under cygwin?? X-Mailer: VM 7.19 under Emacs 21.3.1 Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Hi, My work group has developed a Prolog Language to Unix. Now, we are going to adapt it to work under windows, but when a .exe is executed, we need know is the execution is under CygWin or no. We used CYGWIN variable, but we think that it does not exist any longer under CygWin. How can we know if a Windows execution is under CygWin now?? Thanks!! -- 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/