This is the mail archive of the
cygwin-apps@cygwin.com
mailing list for the Cygwin project.
Re: cygwin GURU needed: native cygwin, native DOS and perl:
- To: JGMBenoit at Wanadoo dot fr
- Subject: Re: cygwin GURU needed: native cygwin, native DOS and perl:
- From: Christopher Faylor <cgf at redhat dot com>
- Date: Tue, 24 Jul 2001 22:02:01 -0400
- Cc: cygwin-apps at cygwin dot com
- References: <3B5E2555.1709CB68@t-online.de>
- Reply-To: cygwin-apps at cygwin dot com
Hate to be pedantic but this isn't really a question for this mailing list.
Use cygwin@cygwin.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?