Class | Foreman::Process |
In: |
lib/foreman/process.rb
|
Parent: | Object |
command | [R] | |
env | [R] |
Exec a Process
@param [Hash] options
@option options :env ({}) Environment variables to set for this execution
@return Does not return
Get environment-expanded command for a Process
@param [Hash] custom_env ({}) Environment variables to merge with defaults
@return [String] The expanded command
Run a Process
@param [Hash] options
@option options :env ({}) Environment variables to set for this execution @option options :output ($stdout) The output stream
@returns [Fixnum] pid The pid of the process