Do this:
From: Emilio Lopes <eclig@gmx.net> Subject: Misleading error message in `exec-path/env' To: scsh-users@scsh.net The procedure `exec-path/env' gives "No executable found." if it fails to execute the given program. This error message is misleading since there can be other reasons for the failure, e.g. the command line was too long. I think something along the lines of "Failed to run program/executable." would be more appropriate. -- Emlio C. Lopes Munich, Germany
This commit is contained in:
parent
b4a1ae5533
commit
0e0faad5e1
|
@ -1062,7 +1062,7 @@
|
|||
(%%exec binary argv env)))
|
||||
(thread-fluid exec-path-list)))))
|
||||
|
||||
(error "No executable found." prog arglist))))
|
||||
(error "Failed to run executable." prog arglist))))
|
||||
|
||||
(define (exec-path prog . arglist)
|
||||
(apply exec-path/env prog #t arglist))
|
||||
|
|
Loading…
Reference in New Issue