JRuby

Kernel#system does not work correctly

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Blocker Blocker
  • Resolution: Duplicate
  • Affects Version/s: JRuby 1.1.4
  • Fix Version/s: None
  • Component/s: Core Classes/Modules
  • Labels:
    None
  • Environment:
    Linux keter 2.6.24-19-generic #1 SMP Wed Aug 20 17:53:40 UTC 2008 x86_64 GNU/Linux
    jruby 1.1.4 (ruby 1.8.6 patchlevel 114) (2008-09-09 rev 6586) [amd64-java]
  • Number of attachments :
    0

Description

system() is broken for some commands:
ai@keter% irb
>> system("stty size")
63 180
=> true
>> exit
ai@keter% jirb
>> system("stty size")
stty: standard input: Invalid argument
=> false
>>

Activity

Hide
Riley Lynch added a comment -

This looks to be the same problem documented in JRUBY-1608: STDIN for jruby child processes is not a tty.

Show
Riley Lynch added a comment - This looks to be the same problem documented in JRUBY-1608: STDIN for jruby child processes is not a tty.
Hide
Charles Oliver Nutter added a comment -

Duplicate of JRUBY-1608.

Show
Charles Oliver Nutter added a comment - Duplicate of JRUBY-1608.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: