mirror of
https://github.com/ruby/ruby.git
synced 2025-09-20 11:03:58 +02:00
merge revision(s) 37322: [Backport #7143]
* 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/branches/ruby_1_9_3@37549 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
79e95a4d38
commit
c58402cde1
3 changed files with 9 additions and 1 deletions
|
@ -1375,6 +1375,7 @@ has_redirection(const char *cmd)
|
|||
case '>':
|
||||
case '<':
|
||||
case '|':
|
||||
case '&':
|
||||
case '\n':
|
||||
if (!quote)
|
||||
return TRUE;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue