[comp.emacs] process-send-string

worley@compass.com (Dale Worley) (04/09/90)

Wim Claassen writes:
> Subject: question concerning PROCESS-SEND-STRING
> 2. Is there any better solution to this problem? Could SEND-PROCESS-STRING
> wait for a reply?

Use 'accept-process-output' to cause Emacs to wait for output from the
process:

	(while (output-not-finished)
	  (accept-process-output process))

Dale Worley		Compass, Inc.			worley@compass.com
--
If you feel compelled to grab part of my body and shake it before you
can be friendly, you've got far greater problems than you think I do.
	-- Mike Jittlov, regarding his dislike of shaking hands