On Mon, 8 Apr 2019 at 14:59, Eli Zaretskii wrote: > > The confusing thing here is that the error is signaled between > > block_input()...unblock_input(), which prevents the debugger from > > triggering. > > The attached patch fixes this by moving the signal to after the unblock_input(). > > Thanks, but could we have a test for this, please? Yes (I had initially thought it wouldn't work because of the way ert uses the debugger internally, but it actually turns out fine). By the way, I modified the error message in call_process in addition to create_process for completeness, but I can't see a way to trigger this for call_process: it searches for PROGRAM and signals an error early, regardless of whether the filename is absolute or not.