diff --git a/ChangeLog b/ChangeLog index e1375b660d..edde7cc3ec 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +Thu Oct 25 17:48:54 2012 NAKAMURA Usaku + + * 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 * include/ruby/ruby.h, class.c: remove (revert) diff --git a/win32/win32.c b/win32/win32.c index 7eaf1fc788..3446728a6a 100644 --- a/win32/win32.c +++ b/win32/win32.c @@ -1446,6 +1446,7 @@ has_redirection(const char *cmd) case '>': case '<': case '|': + case '&': case '\n': if (!quote) return TRUE;