From: matt_neuburg@... (Matt Neuburg) Date: 2009-07-25T11:00:07+09:00 Subject: Re: popen needs escaped pathname? Joel VanderWerf wrote: > Matt Neuburg wrote: > > I am using popen to pipe some text through a Perl script and I've just > > discovered (accidentally) that the pathname for this script has to be > > explicitly escaped - it must not contain unescaped spaces. This > > surprised me because elsewhere in Ruby this does not appear to be the > > case (in "require", for example). What is the rule here? Thx - m. > > It's a shell thing... Right, I see; I'm talking directly to the shell... I think the docs should tell me this! So the same syntax that works in backticks will work here. Thx - m.