fork download
  1. t = Thread.new do
  2. puts "[Starting thread]"
  3. Thread.stop
  4. puts "[Resuming thread]"
  5. end
  6.  
  7. puts "Status of thread: #{t.status}"
Success #stdin #stdout 0.02s 8504KB
stdin
Standard input is empty
stdout
Status of thread: run
[Starting thread]