13
0
Commit Graph

8 Commits

Author SHA1 Message Date
168c439ee8
Fix vfork wrapper for macOS 2023-03-25 07:46:47 +01:00
3715154a8e
Allow concurrent child processes
When multiple child processes are running, closing the
stdin of one child did not send EOF or cause POLLNVAL,
as long as a dup()'ed filedes still existed.

This fixes an issue when running an mp3 encoder while the
video monitor is visible, and will allow to concurrently
run multiple mp3 encoders or other child processes.

Previously this caused Ardour to hang indefinitely in CmdPipeWriter
```
 _proc->close_stdin();
 _proc->wait(); // << here
```
2023-03-25 06:43:46 +01:00
dbd8d491e5
Update utility and tools GPL boilerplate and (C) from git log 2019-08-03 15:53:17 +02:00
2c47dd98c5 silence clang analyzer: Memory Error, Memory leak 2016-02-28 13:12:40 +01:00
f1beb02606 add GPLv2 to exec_wrapper 2014-05-22 23:44:28 +02:00
f0e40565a5 small cleanup. 2014-03-14 20:25:04 +01:00
83a5eadcf8 fix compile of libs/vfork with slightly older(?) glibc headers 2014-03-14 14:52:23 -04:00
543099afba rework SystemExec - use vfork wrapper (and lots of related stuff) 2014-03-13 16:58:07 +01:00