[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Feature request/wishlist: allowing external processes to accept inpu
From: |
Andreas Schwab |
Subject: |
Re: Feature request/wishlist: allowing external processes to accept input in script mode |
Date: |
Wed, 26 Oct 2005 01:52:25 +0200 |
User-agent: |
Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (gnu/linux) |
"D Goel" <address@hidden> writes:
> Now we call the above bash script from an emacs script, in various
> ways:
>
> ----
> #!/usr/local/bin/emacscvs --script
>
>
> (setq a (call-process "y-or-n-p-my" nil t t "Question"))
You explicitly tell that input for the process should come from /dev/null,
so this works as expected.
Andreas.
--
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."