Shake 0.19 - cmd no longer inherits stdin

10 views
Skip to first unread message

Neil Mitchell

unread,
May 23, 2020, 3:35:09 PM5/23/20
to Shake build system
Hi all,

Shake 0.19 is now out. Biggest change that might break compatibility is that processes now spawn by default with an empty stdin, rather than inheriting stdin. From Shake 0.18.3, some processes (notably docker and ffmpeg) hung because they were in a process group with no stdin. Now these commands fail, saying there is no stdin, and you can easily adjust the command line to stop them reading stdin. If you want the Shake 0.18.3 behaviour pass InheritStdin (but I don't think you do, since it seemed to cause hangs). If you want the Shake 0.18.2 and below behaviour pass InheritStdin and NoProcessGroup and you should get what you want, but a build system where commands read from stdin is a bit odd and might be suggestive of a bug.


Thanks, Neil

Reply all
Reply to author
Forward
0 new messages