Commit 75297056 authored by GUYOT DOMINIQUE's avatar GUYOT DOMINIQUE
Browse files

Modify process to correctly use parser

parent d41d5022
......@@ -142,7 +142,7 @@ int main(int argc, char** argv){
Process* pr = new Process("cat #chunkin# > #chunkout# && sleep 1", "/dev/shm/");
Parser* pa = new Parser(string(argv[1]), string(">"));
pr->write_chunkin(pa->get_chunk(4));
pr->write_chunkin(pa->get_atomic(4));
pr->run();
cout << pr->rtime << endl;
cout << pr->utime << endl;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment