From: nagai@... Date: 2003-02-04T10:40:18+09:00 Subject: Re: tkgnuplot problem: fork() on win (popen3 for windows?) Hi, From: nobu.nokada@softhome.net Subject: Re: tkgnuplot problem: fork() on win (popen3 for windows?) Date: Tue, 4 Feb 2003 09:01:02 +0900 Message-ID: <200302040001.h14011L19403@sharui.nakada.kanuma.tochigi.jp> > I guess qoutes surround command path are necessary. > gp = GnuplotProcess.new('"c:\program files\design\gnuplot\gp371w32\pgnuplot.exe"') > Or, this seems better, put quotes in command for win32_popen4. > def _win32_open_process(*cmd) > require 'win32_popen' > > + cmd.collect! {|s| /\s/ =~ s ? %{"#{s}"} : s} > IO.win32_popen4(cmd.join(' ')) > end How foolish I am! Ralf, could you try the test script after applying Nobu's patch and report the result ? -- Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp)