waits for it to return its output, which the shell then displays,