piping in and out works... on unix systems