parse and execute bash without doing any IO