Project

General

Profile

Actions

Bug #2510

closed

xsystem fails in 1.9/mingw

Added by rogerdpack (Roger Pack) over 14 years ago. Updated almost 13 years ago.

Status:
Closed
ruby -v:
ruby 1.9.1p376 (2009-12-07 revision 26041) [i386-mingw32]
[ruby-core:27273]

Description

=begin
In 1.8

xsystem("ls")
within an extconf.rb

works fine
in 1.9.2, same

with 1.9.1, it always fails.
Thanks.
-r
=end


Related issues 1 (0 open1 closed)

Has duplicate Backport191 - Bug #2549: Redirected stdout don't work on child process on WindowsClosed01/03/2010Actions
Actions #1

Updated by usa (Usaku NAKAMURA) about 14 years ago

  • Status changed from Open to Assigned
  • Assignee set to usa (Usaku NAKAMURA)

=begin
Hmm, on my Windows box,

1.9.0-0 : OK
1.9.0-2 : NG
1.9.1-p* : everyone NG
1.9.2 : NG

=end

Actions #2

Updated by usa (Usaku NAKAMURA) about 14 years ago

=begin
additional information:

to invoke native Windows child processes, xsystem returns true,
but there is no output in mkmf.log except the names of invoked
processes.

to invoke cygwin processes, xsystem returns false.

I think that ruby destroys stdout.
And, starting of processes might fail for such case in cygwin.
=end

Actions #3

Updated by usa (Usaku NAKAMURA) almost 14 years ago

  • Status changed from Assigned to Closed

=begin
fixed at r27449
=end

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0