25 calls to drush_is_windows()

drush_correct_absolute_path_for_exec in includes/filesystem.inc
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_escapeshellarg in includes/startup.inc
drush_find_tmp in includes/filesystem.inc
Returns the path to a temporary directory.
drush_format_table in includes/output.inc
Format a table of data.
drush_get_tar_executable in includes/environment.inc
Return tar executable name specific for the current OS
drush_has_bash in includes/environment.inc
Checks if the operating system has bash.
drush_is_absolute_path in includes/filesystem.inc
Determines whether the provided path is absolute or not on the specified O.S. -- starts with "/" on *nix, or starts with "[A-Z]:\" or "[A-Z]:/" on Windows.
drush_normalize_path in includes/filesystem.inc
Makes sure the path has only path separators native for the current operating system
drush_sandwich_make_me_a_sandwich_validate in examples/sandwich.drush.inc
Implements drush_hook_COMMAND_validate().
drush_sitealias_uri_to_site_dir in includes/sitealias.inc
Convert from a URI to a site directory.
drush_startup in includes/startup.inc
drush_startup is called once, by the Drush "finder" script -- the "drush" script at the Drush root. It finds the correct Drush "wrapper" or "launcher" script to use, and executes it with process replacement.
drush_start_browser in includes/exec.inc
Starts a background browser/tab for the current site or a specified URL.
drush_tarball_extract in includes/drush.inc
Extract a tarball.
drush_trim_path in includes/filesystem.inc
Remove the trailing DIRECTORY_SEPARATOR from a path. Will actually remove either / or \ on Windows.
policy.drush.inc in examples/policy.drush.inc
Example policy commandfile. Modify as desired.
_drush_backend_get_stdin in includes/backend.inc
Read options fron STDIN during POST requests.
_drush_backend_proc_open in includes/backend.inc
Call an external command using proc_open.
_drush_convert_path in includes/environment.inc
Converts a Windows path (dir1\dir2\dir3) into a Unix path (dir1/dir2/dir3). Also converts a cygwin "drive emulation" path (/cygdrive/c/dir1) into a proper drive path, still with Unix slashes (c:/dir1).
_drush_get_os in includes/environment.inc
Return the OS we are running under.
_drush_preflight_alias_path in includes/preflight.inc
_drush_preflight_base_environment in includes/preflight.inc
Sets up basic environment that controls where Drush looks for files on a system-wide basis. Important to call for "early" functions that need to work with unit tests.
_drush_preflight_columns in includes/preflight.inc
_drush_recursive_copy in includes/filesystem.inc
Internal function called by drush_copy_dir; do not use directly.
_drush_sitealias_get_record in includes/sitealias.inc
This is a continuation of drush_sitealias_get_record, above. It is not intended to be called directly.
_drush_sitealias_preflight_path in includes/sitealias.inc
Call prior to drush_sitealias_evaluate_path to insure that any site-specific aliases associated with any local site in $path are defined.