aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2021-02-15 16:16:20 +0100
committerMarc André Tanner <mat@brain-dump.org>2021-02-15 16:28:57 +0100
commit0cccd6ef42b99d00c51a865c8fbf72ad9bd02958 (patch)
tree7b4003830d1330a614a30fbfdddcbdf56687def0 /main.c
parent1ace7169372444d319740c8219b7131e5120428f (diff)
downloadvis-0cccd6ef42b99d00c51a865c8fbf72ad9bd02958.tar.gz
vis-0cccd6ef42b99d00c51a865c8fbf72ad9bd02958.tar.xz
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 #929
Diffstat (limited to 'main.c')
0 files changed, 0 insertions, 0 deletions