This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]