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

Jerome BENOIT 520066587150-0001@t-online.de
Wed Jul 25 18:47: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


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list