From: Logan Capaldo Date: 2006-10-30T23:59:42+09:00 Subject: Re: backtick and %x{} not the same? On Mon, Oct 30, 2006 at 12:40:16PM +0900, Andreas S wrote: > > >From: matt@tidbits.com (matt neuburg) > > > >Isn't it better to use an absolute pathname, rather than use a bare > >filename and making assumptions what $PATH is going to be? > > I tried that and it doesn't work either. Apparently the issue wasn't search > path. Logan explained what has happened there (although I'm not sure what > he meant by ruby thinks, "I can handle this myself". How?) It does a straight fork+exec instead of invoking a shell interpreter > > I was expecting system call would result exactly the same as if the command > was executed in the shell itself. If there's a problem with the executed > command, I would've thought I'd be able to replicate it from the shell. > 'command not found' was a rather puzzling error message for me. > > I don't know ruby in and out, but I'm sure there is a good reason ruby does > this. > > -andre > > _________________________________________________________________ > All-in-one security and maintenance for your PC. Get a free 90-day trial! > http://clk.atdmt.com/MSN/go/msnnkwlo0050000002msn/direct/01/?href=http://www.windowsonecare.com/?sc_cid=msn_hotmail >