[#927] UnboundMethod#to_proc — Dave Thomas <dave@...>

I'm wondering what I can do with a Proc generated by

17 messages 2003/04/06

Re: Win32 popen3

From: Richard Kilmer <rich@...>
Date: 2003-04-02 02:39:24 UTC
List: ruby-core #926
Thank you for your reply...

On Tuesday, April 1, 2003, at 07:45  PM, nobu.nokada@softhome.net wrote:

> Hi,
>
> At Wed, 2 Apr 2003 05:24:05 +0900,
> Richard Kilmer wrote:
>> I was wondering what the current status of getting popen3 working
>> under win32.  The win32_popen raa extension does not seem to behave as
>> advertised.
>
> Instead, I'm considering that popen (and system, maybe) should
> be refactored to enable redirection to/from arbitrary IO
> including files.  But no concrete idea yet.
>

Would you be able to split this IO? (stderr vs. stdout vs. stdin)?

>> Specifically, I am trying to get a java program launched
>> and get back "in", "out" and "err" to be able to process using Ruby
>> threads.
>
> Runtime.exec in Java seems to use pipes always..., I feel it
> wouldn't match for Ruby.

I am launching (and controlling) a Java application from Ruby, not the 
other way around.

>
> -- 
> Nobu Nakada
>
>


In This Thread

Prev Next