diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-05-05 13:37:09 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-05-05 13:37:09 +0000 |
commit | 7a69a3583c2235c0ad3ad0705aa2f08cbe2d76bb (patch) | |
tree | 25c6c82a0c18f7c08c7d2e101a69901c0ab24702 /NEWS | |
parent | edacb3a94ac275a62451f49bb2f70e9c1fc6619b (diff) | |
download | ruby-7a69a3583c2235c0ad3ad0705aa2f08cbe2d76bb.tar.gz |
* process.c (check_exec_redirect): Open the file in write mode for
redirect from [:out, :err].
Proposed and implemented by Yusuke Endoh.
[ruby-dev:41430] [Feature #3348]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -27,6 +27,11 @@ with all sufficient information, see the ChangeLog file. * New methods * IO#statfs returns filesystem information as File::Statfs. (experimental) +* Process + * Extended method: + * Process execution methods such as Process.spawn opens the file in write + mode for redirect from [:out, :err]. + * Symbol * New methods * Symbol.find(str) returns whether given string is defined as symbol or not. @@ -64,6 +69,11 @@ with all sufficient information, see the ChangeLog file. arguments of the lambda, if just an array is yielded and its length matches. +* Process + * Process execution methods such as Process.spawn opens the file in write + mode for redirect from [:out, :err]. + Before Ruby 2.2, it was opened in read mode. + === Stdlib updates (outstanding ones only) * Find, Pathname |