[Top][All Lists]

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

Re: Retrieve output from command

From: Thien-Thi Nguyen
Subject: Re: Retrieve output from command
Date: Tue, 31 Jul 2001 13:05:53 -0700

   From: Manuel Giraud <address@hidden>
   Date: 31 Jul 2001 17:43:45 +0200

   I'm trying to get the result of the command "ls" in a list, for
           (define l (system->list "ls"))

   I've tried 'system' but it doesn't work since it returns the exit code
   of the command. Maybe, I will be able to do that using port, but maybe
   there's already a library to do such things.


look for module `(ttn shell-command-to-string)' which includes
`shell-command->string' and `shell-command->list'.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]