projects
/
folly.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix fibers gdb utils script
[folly.git]
/
folly
/
Subprocess.cpp
diff --git
a/folly/Subprocess.cpp
b/folly/Subprocess.cpp
index 912b54f2b25bf5cfb1aed0baa61b993217e51baf..93e3f577157a1ad324411eaa3bafdc6ad1292b5f 100644
(file)
--- a/
folly/Subprocess.cpp
+++ b/
folly/Subprocess.cpp
@@
-184,7
+184,7
@@
Subprocess::Subprocess(
throw std::invalid_argument("usePath() not allowed when running in shell");
}
-
auto argv = shellify(cmd)
;
+
std::vector<std::string> argv = {"/bin/sh", "-c", cmd}
;
spawn(cloneStrings(argv), argv[0].c_str(), options, env);
}