[Date Prev] [Date Index] [Date Next]
[Thread Prev] [Thread Index] [Thread Next]

[xyzzy:04642] Re: process について



Goddy さん、こんにちは。

	2000年6月18日(日)[21:59:32]の、
	[xyzzy:04637] process について
	への返事です。

| 試しに、dir を使ってますが、dirだけが表示されて、結果が返ってきません。
| どうすれば良いのでしょうか?

*shell-ret* は shell-mode でないと初期化されないので、
shell-mode を呼んでやればいいかと。

また、shell が不要で単に動かすだけなら、

  (execute-subprocess "dir")

とか

  (pipe-command "dir")

とか

  (make-process (concat *shell* " /c dir") :output (selected-buffer))

とか。

| あ、それから、別件ですが、atoi とか atof とかいう関数が見当たらないのです
| が
| 何か代わりのものはありますでしょうか?

parse-integer が atoi に似ていますが、float だけを読む
というのはありませんね。read または read-from-string 
であれば何でも読めます。

-- 
亀井哲弥(Tetsuya Kamei)
kamei@xxxxxxxxxxxx

Index Home