Seems like an FAQ, but how do I run scsh in non-interactive mode?
Consider the following program:
#!/bin/bash
bash <<'bash'
echo bash hello world
bash
scsh <<'scheme'
(begin (display "scsh hello world") (newline))
scheme
The sub-bash knows that it is a non-interactive use, but the sub-scsh
doesn't so I get a bunch of junk:
bash hello world
Welcome to scsh 0.6.3 (Health Reform)
Type ,? for help.
> scsh hello world
>
Exit Scsh? (y/n)?
I'll only ask another 100 times.
Exit Scsh? (y/n)?
...
--
Anthony Carrico
|