Method: AssLauncher::Support::Shell::ProcessHolder#run
- Defined in:
- lib/ass_launcher/support/shell/process_holder.rb
#run ⇒ self
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
136 137 138 139 140 141 142 |
# File 'lib/ass_launcher/support/shell/process_holder.rb', line 136 def run fail RunProcessError, "Process was run. Pid: #{pid}" if running? @popen3_thread, stdout, stderr = run_process @pid = @popen3_thread.pid @thread = wait_process_in_thread(stdout, stderr) self end |