Actions
Feature #7025
closedway to wait for closing with IO.popen object
Status:
Closed
Assignee:
-
Target version:
-
Description
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
Updated by nobu (Nobuyoshi Nakada) over 11 years ago
- Status changed from Open to Closed
=begin
Process.wait(popened_io.pid)
=end
Actions
Like0
Like0