Skip to content

Commit

Permalink
Improve launchImpl in Process_WIN32.cpp (#1799)
Browse files Browse the repository at this point in the history
  • Loading branch information
komainu8 authored and aleks-f committed Jul 17, 2017
1 parent 1e4ee01 commit b59d74c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Foundation/src/Process_WIN32.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ static std::string escapeArg(const std::string& arg)

ProcessHandleImpl* ProcessImpl::launchImpl(const std::string& command, const ArgsImpl& args, const std::string& initialDirectory, Pipe* inPipe, Pipe* outPipe, Pipe* errPipe, const EnvImpl& env)
{
std::string commandLine = command;
std::string commandLine = escapeArg(command);
for (ArgsImpl::const_iterator it = args.begin(); it != args.end(); ++it)
{
commandLine.append(" ");
Expand Down

0 comments on commit b59d74c

Please sign in to comment.