Module: Aptible::CLI::Helpers
- Defined in:
- lib/aptible/cli/helpers/app.rb,
lib/aptible/cli/helpers/ssh.rb,
lib/aptible/cli/helpers/token.rb,
lib/aptible/cli/helpers/tunnel.rb,
lib/aptible/cli/helpers/database.rb,
lib/aptible/cli/helpers/operation.rb,
lib/aptible/cli/helpers/environment.rb
Defined Under Namespace
Modules: App, Database, Environment, Operation, Ssh, Token Classes: Tunnel
Constant Summary collapse
- STOP_SIGNAL =
The :new_pgroup key specifies the CREATE_NEW_PROCESS_GROUP flag for CreateProcessW() in the Windows API. This is a Windows only option. true means the new process is the root process of the new process group. This flag is necessary for Process.kill(:SIGINT, pid) on the subprocess.
if Gem.win_platform? :SIGINT else :SIGHUP end
- SPAWN_OPTS =
if Gem.win_platform? { new_pgroup: true } else {} end