diff options
Diffstat (limited to 'lisp/eshell')
| -rw-r--r-- | lisp/eshell/esh-proc.el | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lisp/eshell/esh-proc.el b/lisp/eshell/esh-proc.el index 94401c5daa5..ee74762193d 100644 --- a/lisp/eshell/esh-proc.el +++ b/lisp/eshell/esh-proc.el | |||
| @@ -279,11 +279,10 @@ See `eshell-needs-pipe'." | |||
| 279 | (let ((process-connection-type | 279 | (let ((process-connection-type |
| 280 | (unless (eshell-needs-pipe-p command) | 280 | (unless (eshell-needs-pipe-p command) |
| 281 | process-connection-type)) | 281 | process-connection-type)) |
| 282 | (command (file-local-name command))) | 282 | ;; `start-process' can't deal with relative filenames. |
| 283 | (command (file-local-name (expand-file-name command)))) | ||
| 283 | (apply 'start-file-process | 284 | (apply 'start-file-process |
| 284 | (file-name-nondirectory command) nil | 285 | (file-name-nondirectory command) nil command args))) |
| 285 | ;; `start-process' can't deal with relative filenames. | ||
| 286 | (append (list (expand-file-name command)) args)))) | ||
| 287 | (eshell-record-process-object proc) | 286 | (eshell-record-process-object proc) |
| 288 | (set-process-buffer proc (current-buffer)) | 287 | (set-process-buffer proc (current-buffer)) |
| 289 | (if (eshell-interactive-output-p) | 288 | (if (eshell-interactive-output-p) |