Please use high-level subprocess functions if possible

On several systems, configuring the pipes manually like this made stty print error messages every time dx runs.