use pipe.communicate