function drush_is_osx

8.0.x environment.inc drush_is_osx($os = NULL)
6.x environment.inc drush_is_osx($os = NULL)
7.x environment.inc drush_is_osx($os = NULL)
5.x environment.inc drush_is_osx($os = NULL)
master environment.inc drush_is_osx($os = NULL)

Check if the operating system is OS X. This will return TRUE for Mac OS X (Darwin).

1 call to drush_is_osx()
drush_start_browser in includes/exec.inc
Starts a background browser/tab for the current site or a specified URL.

File

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

Code

function drush_is_osx($os = NULL) {
  return _drush_test_os($os, array("DARWIN"));
}