[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Support for (system '("echo" "foo" "bar"))
From: |
tomas |
Subject: |
Re: Support for (system '("echo" "foo" "bar")) |
Date: |
Wed, 29 Oct 2003 08:58:41 +0100 |
User-agent: |
Mutt/1.5.3i |
On Tue, Oct 28, 2003 at 03:15:26PM -0600, Rob Browning wrote:
>
> I've just finished adding support for calling (system cmd) with a list
[...]
> This idea was borrowed from perl, [...]
If I get you right, you duplicate Perl's magic: when the arg is
a singleton, use system() (with all the shell implications), when
it's a list use execlp etc.
While I have no issues with that (on the contrary, I think those
things are quite handy in a scripting tool!), it ``sticks out''
a bit in Scheme. I'd expect `system' to be system(), and a function
by another name to do the magic you describe. Why not system* or
somesuch? (doing the single-element/several-element magic).
If I got you right, that is.
Regards
-- tomas
- Support for (system '("echo" "foo" "bar")), Rob Browning, 2003/10/28
- Re: Support for (system '("echo" "foo" "bar")), Paul Jarc, 2003/10/28
- Re: Support for (system '("echo" "foo" "bar")),
tomas <=
- Re: Support for (system '("echo" "foo" "bar")), Greg Troxel, 2003/10/29
- Re: Support for (system '("echo" "foo" "bar")), Rob Browning, 2003/10/29
- Re: Support for (system '("echo" "foo" "bar")), Marius Vollmer, 2003/10/29
- Re: Support for (system '("echo" "foo" "bar")), Rob Browning, 2003/10/29
- Re: Support for (system '("echo" "foo" "bar")), Paul Jarc, 2003/10/29
- Re: Support for (system '("echo" "foo" "bar")), Alex Shinn, 2003/10/29
- Re: Support for (system '("echo" "foo" "bar")), tomas, 2003/10/30
Re: Support for (system '("echo" "foo" "bar")), Kevin Ryde, 2003/10/30