diff --git a/src/protocol.c b/src/protocol.c index e693eb05..b3c5a9c2 100644 --- a/src/protocol.c +++ b/src/protocol.c @@ -124,6 +124,7 @@ static bool spawn_process(struct pss_tty *pss, uint16_t columns, uint16_t rows) } argv[n++] = filePath; + close(fd); } argv[n] = NULL;