minor change

This commit is contained in:
vrd
2023-10-10 13:59:11 +03:00
parent 105d9e5802
commit 275dc6ddae
3 changed files with 14 additions and 12 deletions
+4 -3
View File
@@ -15,8 +15,8 @@ int main()
Cmd echo("echo");
Cmd rm("rm");
str out1 = $(ll | grep + "cpp" | grep + "child");
if(out1.find("childProcess.cpp") != str::npos)
string out1 = $(ll | grep + "cpp" | grep + "child");
if(out1.find("childProcess.cpp") != string::npos)
cout << "OK 0/11" << endl;
Cmd success("echo", "OK 1/11");
@@ -53,5 +53,6 @@ int main()
// wait for all detached
while(wait(nullptr) != -1);
exec( echo + $(echo + "OK 11/11") );
// todo
// exec( echo + $(echo + "OK 11/11") );
}