[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[h-e-w] shell-command
From: |
Wojciech Komornicki |
Subject: |
[h-e-w] shell-command |
Date: |
Wed, 17 Oct 2001 15:51:18 -0500 |
>>>>> "Jeff" == Jeff Rancier <address@hidden> writes:
Jeff> Hello,
Jeff> When I do something like:
Jeff> (shell-command
Jeff> (concat "start "
Jeff> "file:///H:/usr/pkg/jakarta-ant-1.4.1/docs/manual/index.html/")))
Jeff> To kick of the file in the browswer, I get a split screen containing
output
Jeff> from 4NT.EXE. Is there anyway to suppress the output, or minimally, not
Jeff> have the buffer split, into the *shell command output* screen?
The syntax for the shell-command function is
shell-command is an interactive compiled Lisp function in `simple'.
(shell-command COMMAND &optional OUTPUT-BUFFER ERROR-BUFFER)
To not have an output buffer, set the last two arguments to nil,
i.e. call your function as
(shell-command
(concat "start "
"file:///H:/usr/pkg/jakarta-ant-1.4.1/docs/manual/index.html/")
nil nil)
--
Wojciech Komornicki Dept of Mathematics
address@hidden Hamline University
http://www.hamline.edu/~wnk/ St Paul, MN 55104
USA
The skill of writing is to create a context in which other people can think.
Edwin Schlossberg