Commit 7500895a authored by Aman Gupta's avatar Aman Gupta

Merge pull request #38 from FlavourSys/use-timeout-for-eval

Use '--timeout' for attach/detach/eval.
parents 126adf0d 4a23c198
......@@ -199,7 +199,7 @@ EOS
:short => nil
opt :timeout,
"seconds to wait before giving up on attach/detach",
"seconds to wait before giving up on attach/detach/eval",
:default => 5
end
......
......@@ -145,7 +145,7 @@ class RBTracer
send_cmd(:eval, code)
if wait('for eval response', 15){ !!@eval_result }
if wait('for eval response'){ !!@eval_result }
res = @eval_result
@eval_result = nil
res
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment