Commit 0cd6e62
committed
core: handle FileNotFound error when launching commands
Gracefuly handle errors when attempting to launch a command that does
not exist by catching the exception and returning the expected status
code and program output. The exception text is returned as "stderr".
This prevents errors when aspell is enabled on systems that do not have
the `aspell` binary installed.
Signed-off-by: David Aguilar <davvid@gmail.com>1 parent a404842 commit 0cd6e62
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
273 | 273 | | |
274 | 274 | | |
275 | 275 | | |
276 | | - | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
277 | 280 | | |
278 | 281 | | |
279 | 282 | | |
| |||
0 commit comments