On Thu, Dec 12, 2019 at 09:46:08PM +0000, Tarquin Wilton-Jones via Therion wrote:
ERROR: Can not execute "command.com /c "C:\\Program Files\\Therion\\therion.exe" -x cave.th
(I managed to find an old thread with this same message, but there was no fix in that thread.)
However, the build from commit 802ad7c works correctly. Looks like commit 19eb624 has a regression that prevents it from running on Windows 10 at least (tested on Windows 10 Home only - I don't want to nuke my working Pro version, so please don't ask me to test there ;) ).
There is no "command.com" on Windows 10...
The code in xtherion/global.tcl tries to run cmd.exe first and if that fails it assumes command.com: if {[catch { set fid [open "|cmd.exe /c" r] read $fid; close $fid }]} { set xth(gui,compcmd) "command.com /c $xth(gui,compcmd)" } else { set xth(gui,compcmd) "cmd.exe /c $xth(gui,compcmd)" } This code hasn't changes for ages. Perhaps it should just assume cmd.exe these days, but for now I'd try to work out when cmd.exe /c fails on your machine. Cheers, Olly