diff options
Diffstat (limited to 'spec/ruby/core/io/fixtures/reopen_stdout.rb')
-rw-r--r-- | spec/ruby/core/io/fixtures/reopen_stdout.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/spec/ruby/core/io/fixtures/reopen_stdout.rb b/spec/ruby/core/io/fixtures/reopen_stdout.rb new file mode 100644 index 0000000000..506ba072bd --- /dev/null +++ b/spec/ruby/core/io/fixtures/reopen_stdout.rb @@ -0,0 +1,3 @@ +STDOUT.reopen ARGV[0] +system "echo from system" +exec "echo from exec" |