* win32/win32.c (has_redirection): should use shell (cmd.exe) when
the commandline containts '&'. reported by Roger Pack at [ruby-core:47912] [Bug #7143], and patched by Heesob Park at [ruby-core:47931]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37322 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
9dc3a7d7a5
commit
acd82f6e24
@ -1,3 +1,10 @@
|
|||||||
|
Thu Oct 25 17:48:54 2012 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||||
|
|
||||||
|
* win32/win32.c (has_redirection): should use shell (cmd.exe) when
|
||||||
|
the commandline containts '&'.
|
||||||
|
reported by Roger Pack at [ruby-core:47912] [Bug #7143], and
|
||||||
|
patched by Heesob Park at [ruby-core:47931].
|
||||||
|
|
||||||
Thu Oct 25 15:00:08 2012 Koichi Sasada <ko1@atdot.net>
|
Thu Oct 25 15:00:08 2012 Koichi Sasada <ko1@atdot.net>
|
||||||
|
|
||||||
* include/ruby/ruby.h, class.c: remove (revert)
|
* include/ruby/ruby.h, class.c: remove (revert)
|
||||||
|
@ -1446,6 +1446,7 @@ has_redirection(const char *cmd)
|
|||||||
case '>':
|
case '>':
|
||||||
case '<':
|
case '<':
|
||||||
case '|':
|
case '|':
|
||||||
|
case '&':
|
||||||
case '\n':
|
case '\n':
|
||||||
if (!quote)
|
if (!quote)
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user