Windows, system() & popen() not functionning, v165-2


(Morris, Chris) #1

I am using the Windows distrib from Pragmatic Programmers,
apparently v165-2 (cygwin based I think).

On my WinME, system() & popen() don’t work.

I moved on to the 1.6.6-0 dist a while ago, so I don’t recall exactly, but I
don’t think popen is supported on Windows (even cygwin) – not certain.
Problems with system can be remedied with the code in
http://ruby-talk.com/10006.

Chris


(Yohanes Santoso) #2

“Morris, Chris” chris.morris@snelling.com writes:

I am using the Windows distrib from Pragmatic Programmers,
apparently v165-2 (cygwin based I think).

On my WinME, system() & popen() don’t work.

I moved on to the 1.6.6-0 dist a while ago, so I don’t recall exactly, but I
don’t think popen is supported on Windows (even cygwin) – not certain.
Problems with system can be remedied with the code in
http://ruby-talk.com/10006.

I heard the unix emulation library from AT&T (I forgot its name)
supports full unix fork/process semantic and open3(). Well, at least
it works perfectly for ksh93. Could ruby someone versed in windows try
to compile ruby with that library?

YS.