Shake 0.19 - cmd no longer inherits stdin

9 προβολές
Παράβλεψη και μετάβαση στο πρώτο μη αναγνωσμένο μήνυμα

Neil Mitchell

μη αναγνωσμένη,
23 Μαΐ 2020, 3:35:09 μ.μ.23/5/20
ως 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

Απάντηση σε όλους
Απάντηση στον συντάκτη
Προώθηση
0 νέα μηνύματα