Issue #7025 has been updated by nobu (Nobuyoshi Nakada).

Status changed from Open to Closed

=begin
 Process.wait(popened_io.pid)
=end

----------------------------------------
Feature #7025: way to wait for closing with IO.popen object
https://bugs.ruby-lang.org/issues/7025#change-29315

Author: rogerdpack (Roger Pack)
Status: Closed
Priority: Normal
Assignee: 
Category: 
Target version: 


Hello.
I noticed that it seems, if you do:
IO.popen("something", "w")

there's currently no way (without using a block form? [1]) to tell that this process has exited (or do correct me if I'm wrong).

So consider this a feature request for such.
Thanks!
-roger-

[1] http://stackoverflow.com/questions/1217351/io-popen-how-to-wait-for-process-to-finish


-- 
http://bugs.ruby-lang.org/