Module: Process
- Defined in:
- src/mintpress-common/lib/legacymixlib/shellout/windows/core_ext.rb
Overview
Override Process.create to check for running in the Service window station and doing
a full logon with LogonUser, instead of a CreateProcessWithLogon
Cloned from https://github.com/djberg96/win32-process/blob/ffi/lib/win32/process.rb
as of 2015-10-15 from commit cc066e5df25048f9806a610f54bf5f7f253e86f7
Defined Under Namespace
Classes: UnsupportedFeature
Class Method Summary collapse
- .create(args) ⇒ Object
- .create3(args) ⇒ Object
- .create_process(app, cmd, process_security, thread_security, inherit, creation_flags, env, cwd, startinfo, procinfo) ⇒ Object
- .create_process_as_user(token, app, cmd, process_security, thread_security, inherit, creation_flags, env, cwd, startinfo, procinfo) ⇒ Object
- .create_process_with_logon(logon, domain, passwd, logon_flags, app, cmd, creation_flags, env, cwd, startinfo, procinfo) ⇒ Object
- .format_creds_from_hash(hash) ⇒ Object
- .get_profile_type ⇒ Object
- .get_windows_station_name ⇒ Object
- .load_user_profile(token, profile_ptr) ⇒ Object
-
.logon_has_roaming_profile? ⇒ Boolean
See Process::Constants::WIN32_PROFILETYPE.
- .logon_user(user, domain, passwd, type, provider = LOGON32_PROVIDER_DEFAULT) ⇒ Object
- .unload_user_profile(token, profile) ⇒ Object
Class Method Details
.create(args) ⇒ Object
.create3(args) ⇒ Object
.create_process(app, cmd, process_security, thread_security, inherit, creation_flags, env, cwd, startinfo, procinfo) ⇒ Object
.create_process_as_user(token, app, cmd, process_security, thread_security, inherit, creation_flags, env, cwd, startinfo, procinfo) ⇒ Object
.create_process_with_logon(logon, domain, passwd, logon_flags, app, cmd, creation_flags, env, cwd, startinfo, procinfo) ⇒ Object
.format_creds_from_hash(hash) ⇒ Object
.get_profile_type ⇒ Object
.get_windows_station_name ⇒ Object
.load_user_profile(token, profile_ptr) ⇒ Object
.logon_has_roaming_profile? ⇒ Boolean
See Process::Constants::WIN32_PROFILETYPE