#42: don't read stdin when running in a noninteractive shell ---------------------------------------+--------------------- Reporter: taeuber | Owner: Type: enhancement | Status: open Priority: wish | Component: FFmpeg Version: git | Resolution: Keywords: noninteractive shell stdin | Blocked By: Blocking: | Reproduced: 0 Analyzed: 0 | ---------------------------------------+---------------------
Comment (by taeuber): We need to check for being a foreground process only if we are an interactive process. {{{ int accept_stdin_commands = 0; if interactive() if foreground_process() accept_stdin_commands = 1; }}} But being a foreground process can change during execution! So we should expect the user to be smart enough to know the implications about background processes. Lars -- Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/42#comment:8> FFmpeg <http://ffmpeg.org> FFmpeg issue tracker _______________________________________________ FFmpeg-trac mailing list FFmpeg-trac@avcodec.org http://avcodec.org/mailman/listinfo/ffmpeg-trac