This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# encoding: utf-8 | |
require "timeout" | |
# Capture the standard output and the standard error of a command. | |
# Almost same as Open3.capture3 method except for timeout handling and return value. | |
# See Open3.capture3. | |
# | |
# result = capture3_with_timeout([env,] cmd... [, opts]) | |
# |