Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vis: correctly close pipe connected to stdin of external process
Once we have written all data we should properly close the (correct) pipe. Before we wrongly closed the pipe connected to the standard output stream. More generally, we currently do not listen for child process termination, but instead wait until all the connected pipes are closed. This might be problematic in case the external process keeps hold of the standard I/O file descriptors. One particular example of this is wl-copy(1). See martanne#929
- Loading branch information