function drush_is_cygwin

8.0.x drush_is_cygwin($os = NULL)
6.x drush_is_cygwin($os = NULL)
7.x drush_is_cygwin($os = NULL)
5.x drush_is_cygwin($os = NULL)
master drush_is_cygwin($os = NULL)

Check if the operating system is Winodws running some variant of cygwin -- either Cygwin or the MSYSGIT shell. If you care which is which, test mingw first.

2 calls to drush_is_cygwin()
drush_correct_absolute_path_for_exec in includes/
If we are going to pass a path to exec or proc_open, then we need to fix it up under CYGWIN or MINGW. In both of these environments, PHP works with absolute paths such as "C:\path". CYGWIN expects these to be converted to…
drush_has_bash in includes/
Checks if the operating system has bash.


includes/, line 679
Functions used by drush to query the environment and setting the current configuration.


function drush_is_cygwin($os = NULL) {
  return _drush_test_os($os, array("CYGWIN", "CWRSYNC", "MINGW"));