Project

General

Profile

This project is closed and read-only.

Actions

Backport #9232

closed

Please Backport Bug #7239 to Ruby 1.9.3

Backport #9232: Please Backport Bug #7239 to Ruby 1.9.3

Added by ryanatball (Ryan Melton) almost 13 years ago. Updated almost 13 years ago.

Status:
Closed
[ruby-core:59000]

Description

This bug prevents backticks and popen from working correctly on Windows with Ruby 1.9.3. It was patched in 2.0 but not in 1.9.3. Please backport.


Related issues 1 (0 open1 closed)

Related to Ruby - Bug #7239: Can't read from subprocess when run with rubyw on windowsClosedusa (Usaku NAKAMURA)Actions

Updated by sorah (Sorah Fukumori) almost 13 years ago Actions #1

  • Tracker changed from Bug to Backport
  • Project changed from Ruby to 13
  • Category deleted (platform/windows)
  • Status changed from Open to Assigned
  • Assignee changed from luislavena (Luis Lavena) to usa (Usaku NAKAMURA)

Moving to correct project, and assigning to branch maintainer.

Updated by usa (Usaku NAKAMURA) almost 13 years ago Actions #2

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100

This issue was solved with changeset r44338.
Ryan, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


merge revision(s) 37388: [Backport #9232]

* process.c (redirect_dup2): set standard handles when new fd is stdio,
  because if there is no allocated console at the moment Windows does
  not automatically associate it for child process's standard handle.
  this is adhoc workaround.
  reported by Martin Thiede at [ruby-core:48542] [Bug #7239].

* io.c (rb_cloexec_dup2): ditto.
Actions

Also available in: PDF Atom