From acd82f6e24494ccced2fca81681c1beb1a5e0e58 Mon Sep 17 00:00:00 2001 From: usa Date: Thu, 25 Oct 2012 08:50:55 +0000 Subject: * 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 --- win32/win32.c | 1 + 1 file changed, 1 insertion(+) (limited to 'win32/win32.c') 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; -- cgit v1.2.3