0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 20:03:10 +02:00
mpv/player
James Ross-Gowan 6a1746b4e3 lua: subprocess: fix Ctrl+C handling on Windows
The CREATE_NO_WINDOW flag is used to prevent the subprocess from
creating an empty console window when mpv is not running in a console.
When mpv is running in a console, it causes the subprocess to detach
itself, and prevents it from seeing Ctrl+C events, so it hangs around in
the background after mpv is killed.

Fix this by only specifying CREATE_NO_WINDOW when mpv is not attached to
a console. When it is attached to a console, subprocesses will
automatically inherit the console and correctly receive Ctrl+C events.
2014-11-22 18:15:09 +11:00
..
lua lua: add a way to add repeatable key bindings 2014-11-21 00:01:59 +01:00
timeline player: always use demux_chapter 2014-11-02 17:29:41 +01:00
audio.c audio: fix some issues when reloading the AO 2014-11-12 14:19:16 +01:00
client.c client: remove redundant assignment 2014-11-07 16:21:03 +01:00
client.h command: finish hook execution if client fails 2014-10-24 21:57:02 +02:00
command.c Remove some superfluous NULL checks 2014-11-21 05:18:09 +01:00
command.h command: add window-minimized property (X11 only) 2014-11-02 20:55:07 +01:00
configfiles.c Remove some superfluous NULL checks 2014-11-21 05:18:09 +01:00
core.h command: improve A-B loop behavior 2014-11-18 20:28:54 +01:00
discnav.c sd_lavc: strictly letter-box PGS subtitles 2014-10-21 11:37:32 +02:00
loadfile.c sub: workaround braindead libass API 2014-11-15 19:43:43 +01:00
lua.c lua: subprocess: fix Ctrl+C handling on Windows 2014-11-22 18:15:09 +11:00
main_fn.c cocoa: fix build by using the correct HAVE_* macro 2014-08-06 09:31:59 +02:00
main.c player: improve exit message in some scenarios 2014-10-31 00:51:52 +01:00
misc.c player: don't display zero duration for files with unknown duration 2014-10-29 21:54:59 +01:00
osd.c command: improve A-B loop behavior 2014-11-18 20:28:54 +01:00
playloop.c player: don't try to use duration 0 2014-11-10 18:11:33 +01:00
screenshot.c Move compat/ and bstr/ directory contents somewhere else 2014-08-29 12:31:52 +02:00
screenshot.h Move mpvcore/player/ to player/ 2013-12-17 00:53:22 +01:00
scripting.c player: integrate ytdl_hook.lua 2014-11-19 18:59:38 +01:00
sub.c sub: workaround braindead libass API 2014-11-15 19:43:43 +01:00
video.c Remove some superfluous NULL checks 2014-11-21 05:18:09 +01:00