U
uncutstone
my ruby is ruby 1.8.2 (2004-12-25) [i386-mswin32], OS is windows 98
when i run learn.rb:
IO.popen("-") {|f| $stderr.puts "#{Process.pid} is here, f
is #{f}"}
I got :
learn.rb:1156:in `popen': No such file or directory - -
(Errno::ENOENT)
from learn.rb:1156
Book says that popen("-") is not available on all platforms. So I
think it may not supported by my OS, windows 98.
But I really need this way to fork a process, somebody can give some
advice.
Thanks in advance.
when i run learn.rb:
IO.popen("-") {|f| $stderr.puts "#{Process.pid} is here, f
is #{f}"}
I got :
learn.rb:1156:in `popen': No such file or directory - -
(Errno::ENOENT)
from learn.rb:1156
Book says that popen("-") is not available on all platforms. So I
think it may not supported by my OS, windows 98.
But I really need this way to fork a process, somebody can give some
advice.
Thanks in advance.