Mailing-List: contact cygwin-apps-help AT sourceware DOT cygnus DOT com; run by ezmlm Sender: cygwin-apps-owner AT sourceware DOT cygnus DOT com List-Subscribe: List-Archive: List-Post: List-Help: , Delivered-To: mailing list cygwin-apps AT sources DOT redhat DOT com Date: Tue, 24 Jul 2001 22:02:01 -0400 From: Christopher Faylor To: JGMBenoit AT Wanadoo DOT fr Cc: cygwin-apps AT cygwin DOT com Subject: Re: cygwin GURU needed: native cygwin, native DOS and perl: Message-ID: <20010724220201.A5701@redhat.com> Reply-To: cygwin-apps AT cygwin DOT com Mail-Followup-To: JGMBenoit AT Wanadoo DOT fr, cygwin-apps AT cygwin DOT com References: <3B5E2555 DOT 1709CB68 AT t-online DOT de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.11i In-Reply-To: <3B5E2555.1709CB68@t-online.de>; from 520066587150-0001@t-online.de on Wed, Jul 25, 2001 at 03:48:05AM +0200 Hate to be pedantic but this isn't really a question for this mailing list. Use cygwin AT cygwin DOT com. cgf On Wed, Jul 25, 2001 at 03:48:05AM +0200, Jerome BENOIT wrote: >Bonjour: > >A TeX tool programmer asks me the fellowing question ? > >> How can we set the default for >> the gs command name in the perl script? >> >> For example I can ask $^O: So I know if the perl >> is a cygwin port. But then, what is the best method >> to check, whether "gs" is installed or "gswin32c" has >> to be used? >> >> For example: >> $foo = `type gs` >> or >> $foo = `gs --version` >> and checking error codes and output?