switch to exec from spawn since all data is buffered