Import from future?

Is there anyway for a jruby 1.8 app to have access to Process.spawn from
the 1.9 side of things?
Thx.
-rp

Hi Roger,

By the way, Process.spawn from the 1.9 side does not work well in
Windows. Seems to not be able to kill the process or change
directories. That being said, I think there is likely just a 1.9 guard
around the method, which is technically easy to remove, I just don’t
know if they would want to break from MRI. But, I would wait for a
response from the devs, as I am no expert.

Thanks,

Brandon H.

By the way, Process.spawn from the 1.9 side does not work well in
Windows. Seems to not be able to kill the process or change
directories. That being said, I think there is likely just a 1.9 guard
around the method, which is technically easy to remove, I just don’t
know if they would want to break from MRI. But, I would wait for a
response from the devs, as I am no expert.

yeah…I was hoping those bugs would get fixed some time or other :slight_smile:
Have you filed bug reports on those?

-rp

Hi,

My coworker is trying to distill his tests to something small and
repeatable to post. If you have that already feel free to post. I was
talking to headius in IRC and he wants to help get this working so
things like spork are supported on JRuby.

-Brandon

The short answer: yes, it would be trivially easy. The long answer…

Since we’re both 1.8 and 1.9 in the same box, this is all possible;
but it breaks with MRI. However, it might be a good thing to break
with MRI, since most people seem to want specific features from 1.9
but don’t want to make the move. In our case, we also have not had
resources to finish 1.9 support, so users can’t move wholesale to
1.9 mode.

I don’t know what such an “import from future” would look like, or
what the political/compatibility implications are, but yes…it would
be easy.

On Fri, Mar 19, 2010 at 11:34 AM, Brandon H.
[email protected] wrote:

Sent: Friday, March 19, 2010 11:32 AM


To unsubscribe from this list, please visit:

  http://xircles.codehaus.org/manage_email


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs