cygwin GURU needed: native cygwin, native DOS and perl:

Jerome BENOIT 520066587150-0001@t-online.de
Tue Jul 24 18:57:00 GMT 2001


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?

Any idea ?

Thanks in advance,
Jerome BENOIT



More information about the Cygwin-apps mailing list