[CM] How to capture standard output of Linux command in s7
billbose at gmail.com
Wed Nov 25 07:38:22 PST 2015
system prints the output of the command.
I cannot save the output with:
(define sv (system ("ls"))
On Wed, Nov 25, 2015 at 8:02 AM, <bil at ccrma.stanford.edu> wrote:
> system is normally included in s7 in Linux -- try
> (help system) or (system "ls -la s7.c" #t). If your
> version of s7 was built with the compiler flag
> WITH_SYSTEM_EXTRAS set to 0, you can still get at the
> c library's system function via libc.scm, but
> hopefully that isn't necessary.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Cmdist