From: Tobias Reif Date: 2002-05-31T02:48:23+09:00 Subject: Re: OS independent scripts, system calls on Windows and Linux Dennis Newbold wrote: > What you are asking is probably possible. However, it creates kind of > a slippery slope effect. For example, suppose your script wanted to issue > a Linux command for which there was no Windows equivalent, neither as an > external command, nor as one built in to cmd.exe (and there are a LOT of > commands which match that description). Do you want Ruby to "hide" those > differences from you as well Nah. Ruby doesn't have top play UNIX on Windows like cygwin does. But even if I limit myself to calling programs I know to be on the path, I run into stopping problems: http://www.ruby-talk.com/41305 and last para in http://www.ruby-talk.com/41294 A portable open3.rb also seems to be a good wish. Tobi -- http://www.pinkjuice.com/