commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paulo Roberto Massa Cereda <cereda.pa...@gmail.com>
Subject [lang] SystemUtils and Cygwin
Date Thu, 01 Jan 2015 22:34:32 GMT
Dear friends,

I have to execute a certain system command according to the underlying 
operating system; so far, SystemUtils works like a charm. But now I'm 
facing a quite peculiar situation: I'd need to run a different code if 
my Java application is being invoked from a Cygwin session.

I do not have a Windows machine (that's good!) so I cannot test how 
things go (that's bad!). Do you guys know if it's possible to find out 
if my code is running with Cygwin?

Any help is greatly appreciated. :)

All the best and a happy new year!

Paulo

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message