gdb.exe -x gdb_script dcpomatic2_kdm_cli.exe > %HOMEPATH%/Documents/dcpomatic_debug_log.txt