Revert r251882 as it breaks the test suite
llvm-svn: 251956
This commit is contained in:
parent
6623e1f10f
commit
32d68fec56
|
|
@ -1371,13 +1371,7 @@ Host::ShellExpandArguments (ProcessLaunchInfo &launch_info)
|
||||||
|
|
||||||
int status;
|
int status;
|
||||||
std::string output;
|
std::string output;
|
||||||
FileSpec cwd(launch_info.GetWorkingDirectory());
|
RunShellCommand(expand_command, launch_info.GetWorkingDirectory(), &status, nullptr, &output, 10);
|
||||||
if (!cwd.Exists())
|
|
||||||
{
|
|
||||||
error.SetErrorStringWithFormat("cwd does not exist; cannot launch with shell argument expansion");
|
|
||||||
return error;
|
|
||||||
}
|
|
||||||
RunShellCommand(expand_command, cwd, &status, nullptr, &output, 10);
|
|
||||||
|
|
||||||
if (status != 0)
|
if (status != 0)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue