Remove some unsupport system call for WASM

Signed-off-by: Le Yao <le.yao@intel.com>
This commit is contained in:
Le Yao
2021-06-24 02:31:02 -04:00
parent 5a0ae73ba6
commit f2a52c6c3b
6 changed files with 683 additions and 292 deletions

View File

@@ -62,9 +62,6 @@ bool InspectFile::evaluate(Transaction *transaction, const std::string &str) {
openstr.append(m_param);
openstr.append(" ");
openstr.append(str);
if (!(in = popen(openstr.c_str(), "r"))) {
return false;
}
while (fgets(buff, sizeof(buff), in) != NULL) {
s << buff;