ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
* [ruby-core:48542] [ruby-trunk - Bug #7239][Open] Can't read from subprocess when run with rubyw on windows
@ 2012-10-29 11:53 mthiede (Martin Thiede)
  2012-10-29 11:55 ` [ruby-core:48543] [ruby-trunk - Bug #7239] " mthiede (Martin Thiede)
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: mthiede (Martin Thiede) @ 2012-10-29 11:53 UTC (permalink / raw
  To: ruby-core


Issue #7239 has been reported by mthiede (Martin Thiede).

----------------------------------------
Bug #7239: Can't read from subprocess when run with rubyw on windows
https://bugs.ruby-lang.org/issues/7239

Author: mthiede (Martin Thiede)
Status: Open
Priority: Normal
Assignee: 
Category: 
Target version: 
ruby -v: ruby 1.9.3p194 (2012-04-20) [i386-mingw32]



File.open 'res.txt', 'w' do |f|
f << `dir`
end

when run with "rubyw", the file "res.txt" will be empty, when run with "ruby" it will contain the output of the "dir" command

the problem is present in Ruby versions 1.9.1, 1.9.2 and 1.9.3
the problem is *not* present in Ruby version 1.8.7


-- 
http://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [ruby-core:48543] [ruby-trunk - Bug #7239] Can't read from subprocess when run with rubyw on windows
  2012-10-29 11:53 [ruby-core:48542] [ruby-trunk - Bug #7239][Open] Can't read from subprocess when run with rubyw on windows mthiede (Martin Thiede)
@ 2012-10-29 11:55 ` mthiede (Martin Thiede)
  2012-10-29 17:32 ` [ruby-core:48546] [ruby-trunk - Bug #7239][Assigned] " luislavena (Luis Lavena)
  2013-11-26 22:34 ` [ruby-core:58612] [ruby-trunk - Bug #7239] " ryanatball (Ryan Melton)
  2 siblings, 0 replies; 4+ messages in thread
From: mthiede (Martin Thiede) @ 2012-10-29 11:55 UTC (permalink / raw
  To: ruby-core


Issue #7239 has been updated by mthiede (Martin Thiede).


I tested this with Windows 7
----------------------------------------
Bug #7239: Can't read from subprocess when run with rubyw on windows
https://bugs.ruby-lang.org/issues/7239#change-31913

Author: mthiede (Martin Thiede)
Status: Open
Priority: Normal
Assignee: 
Category: 
Target version: 
ruby -v: ruby 1.9.3p194 (2012-04-20) [i386-mingw32]



File.open 'res.txt', 'w' do |f|
f << `dir`
end

when run with "rubyw", the file "res.txt" will be empty, when run with "ruby" it will contain the output of the "dir" command

the problem is present in Ruby versions 1.9.1, 1.9.2 and 1.9.3
the problem is *not* present in Ruby version 1.8.7


-- 
http://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [ruby-core:48546] [ruby-trunk - Bug #7239][Assigned] Can't read from subprocess when run with rubyw on windows
  2012-10-29 11:53 [ruby-core:48542] [ruby-trunk - Bug #7239][Open] Can't read from subprocess when run with rubyw on windows mthiede (Martin Thiede)
  2012-10-29 11:55 ` [ruby-core:48543] [ruby-trunk - Bug #7239] " mthiede (Martin Thiede)
@ 2012-10-29 17:32 ` luislavena (Luis Lavena)
  2013-11-26 22:34 ` [ruby-core:58612] [ruby-trunk - Bug #7239] " ryanatball (Ryan Melton)
  2 siblings, 0 replies; 4+ messages in thread
From: luislavena (Luis Lavena) @ 2012-10-29 17:32 UTC (permalink / raw
  To: ruby-core


Issue #7239 has been updated by luislavena (Luis Lavena).

Description updated
Category set to core
Status changed from Open to Assigned
Assignee set to usa (Usaku NAKAMURA)


----------------------------------------
Bug #7239: Can't read from subprocess when run with rubyw on windows
https://bugs.ruby-lang.org/issues/7239#change-31929

Author: mthiede (Martin Thiede)
Status: Assigned
Priority: Normal
Assignee: usa (Usaku NAKAMURA)
Category: core
Target version: 
ruby -v: ruby 1.9.3p194 (2012-04-20) [i386-mingw32]


File.open 'res.txt', 'w' do |f|
f << `dir`
end

when run with "rubyw", the file "res.txt" will be empty, when run with "ruby" it will contain the output of the "dir" command

the problem is present in Ruby versions 1.9.1, 1.9.2 and 1.9.3
the problem is *not* present in Ruby version 1.8.7


-- 
http://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [ruby-core:58612] [ruby-trunk - Bug #7239] Can't read from subprocess when run with rubyw on windows
  2012-10-29 11:53 [ruby-core:48542] [ruby-trunk - Bug #7239][Open] Can't read from subprocess when run with rubyw on windows mthiede (Martin Thiede)
  2012-10-29 11:55 ` [ruby-core:48543] [ruby-trunk - Bug #7239] " mthiede (Martin Thiede)
  2012-10-29 17:32 ` [ruby-core:48546] [ruby-trunk - Bug #7239][Assigned] " luislavena (Luis Lavena)
@ 2013-11-26 22:34 ` ryanatball (Ryan Melton)
  2 siblings, 0 replies; 4+ messages in thread
From: ryanatball (Ryan Melton) @ 2013-11-26 22:34 UTC (permalink / raw
  To: ruby-core


Issue #7239 has been updated by ryanatball (Ryan Melton).


Please backport this to Ruby 1.9.3.
----------------------------------------
Bug #7239: Can't read from subprocess when run with rubyw on windows
https://bugs.ruby-lang.org/issues/7239#change-43180

Author: mthiede (Martin Thiede)
Status: Closed
Priority: Normal
Assignee: usa (Usaku NAKAMURA)
Category: core
Target version: 
ruby -v: ruby 1.9.3p194 (2012-04-20) [i386-mingw32]
Backport: 


File.open 'res.txt', 'w' do |f|
f << `dir`
end

when run with "rubyw", the file "res.txt" will be empty, when run with "ruby" it will contain the output of the "dir" command

the problem is present in Ruby versions 1.9.1, 1.9.2 and 1.9.3
the problem is *not* present in Ruby version 1.8.7


-- 
http://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-11-26 23:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-29 11:53 [ruby-core:48542] [ruby-trunk - Bug #7239][Open] Can't read from subprocess when run with rubyw on windows mthiede (Martin Thiede)
2012-10-29 11:55 ` [ruby-core:48543] [ruby-trunk - Bug #7239] " mthiede (Martin Thiede)
2012-10-29 17:32 ` [ruby-core:48546] [ruby-trunk - Bug #7239][Assigned] " luislavena (Luis Lavena)
2013-11-26 22:34 ` [ruby-core:58612] [ruby-trunk - Bug #7239] " ryanatball (Ryan Melton)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).