Problem with multiple pipes...

This is a discussion on Problem with multiple pipes... within the C++ Programming forums, part of the General Programming Boards category; This problem works with 2 piped commands (ie ls | grep main) but when I try to do more than ...

Problem with multiple pipes...

This problem works with 2 piped commands (ie ls | grep main) but when I try to do more than 2 commands the program freezes.The int main() basically does the i/o and the execute command function is pretty much where im having all the problems. Thanks for any help. PS ParsedTokens is a class that parses completely the input. It puts the tokens in a vector of strings.