Mercurial > hg > xemacs-beta
comparison lisp/prim/process.el @ 153:25f70ba0133c r20-3b3
Import from CVS: tag r20-3b3
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:38:25 +0200 |
parents | 59463afc5666 |
children | 43dd3413c7c7 |
comparison
equal
deleted
inserted
replaced
152:4c132ee2d62b | 153:25f70ba0133c |
---|---|
323 "Execute COMMAND as an external process and return the output of that | 323 "Execute COMMAND as an external process and return the output of that |
324 process as a string" | 324 process as a string" |
325 ;; by "William G. Dubuque" <wgd@zurich.ai.mit.edu> | 325 ;; by "William G. Dubuque" <wgd@zurich.ai.mit.edu> |
326 (with-output-to-string | 326 (with-output-to-string |
327 (call-process shell-file-name nil t nil "-c" command))) | 327 (call-process shell-file-name nil t nil "-c" command))) |
328 | |
329 (defalias 'shell-command-to-string 'exec-to-string) | |
330 | |
331 ;;; process.el ends here |