From 4d328a1e4674de1af3ad63f9578394e855ca3e42 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sun, 28 Aug 2011 16:44:31 -0400 Subject: [PATCH] Bug - Exec - The execute command was not putting spaces between combined arguments when constructing a command line. --- src/commands/CmdExec.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/commands/CmdExec.cpp b/src/commands/CmdExec.cpp index 0feef0df2..2506e97e4 100644 --- a/src/commands/CmdExec.cpp +++ b/src/commands/CmdExec.cpp @@ -53,7 +53,12 @@ int CmdExec::execute (std::string& output) { if (arg != context.a3.begin () && arg->_raw != "execute") + { + if (command_line.length ()) + command_line += " "; + command_line += arg->_raw; + } } return system (command_line.c_str ());