Sha256: 3b8ce8c313008a0c8419efd625bec8d49ec9c4baacbbd8816281354482ad67ff
Contents?: true
Size: 405 Bytes
Versions: 11
Compression:
Stored size: 405 Bytes
Contents
####################################################################### # example_wait4.rb # # Simple demonstration of the Process.wait4 method. You can use the # 'rake example_wait4' task to run this code. # # Modify as you see fit. ####################################################################### require 'proc/wait3' pid = fork{ sleep 2 } p Time.now Process.wait4(pid, Process::WUNTRACED) p $?
Version data entries
11 entries across 11 versions & 1 rubygems