Class: Mixlib::ShellOut::Windows::Utils

Inherits:
Object
  • Object
show all
Includes:
Mixlib::ShellOut::Windows
Defined in:
lib/mixlib/shellout/windows.rb

Overview

DEPRECATED do not use

Constant Summary

Constants included from Mixlib::ShellOut::Windows

TIME_SLICE

Constants included from Process::Constants

Process::Constants::ENVIRONMENT_BLOCK_ENDS, Process::Constants::ERROR_LOGON_TYPE_NOT_GRANTED, Process::Constants::ERROR_PRIVILEGE_NOT_HELD, Process::Constants::LOGON32_LOGON_BATCH, Process::Constants::LOGON32_LOGON_INTERACTIVE, Process::Constants::LOGON32_PROVIDER_DEFAULT, Process::Constants::UOI_NAME, Process::Constants::WAIT_ABANDONED, Process::Constants::WAIT_ABANDONED_0, Process::Constants::WAIT_FAILED, Process::Constants::WAIT_OBJECT_0, Process::Constants::WAIT_TIMEOUT, Process::Constants::WIN32_PROFILETYPE_LOCAL, Process::Constants::WIN32_PROFILETYPE_PT_MANDATORY, Process::Constants::WIN32_PROFILETYPE_PT_ROAMING, Process::Constants::WIN32_PROFILETYPE_PT_ROAMING_PREEXISTING, Process::Constants::WIN32_PROFILETYPE_PT_TEMPORARY

Class Method Summary collapse

Methods included from Mixlib::ShellOut::Windows

#run_command, #validate_options

Class Method Details

.should_run_under_cmd?(cmd) ⇒ Boolean

Returns:

  • (Boolean)


431
432
433
# File 'lib/mixlib/shellout/windows.rb', line 431

def self.should_run_under_cmd?(cmd)
  Mixlib::ShellOut::Windows::Utils.new.send(:should_run_under_cmd?, cmd)
end