#include <windows.h>
#include <msp/core/systemerror.h>
#include <msp/io/handle_private.h>
+#include <msp/strings/utils.h>
#include "process.h"
#include "process_private.h"
{
string cmdline = quote_argument(command);
for(Arguments::const_iterator i=args.begin(); i!=args.end(); ++i)
- {
- cmdline += ' ';
- cmdline += quote_argument(*i);
- }
+ append(cmdline, " ", quote_argument(*i));
STARTUPINFO startup;
startup.cb = sizeof(STARTUPINFO);