[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: term with multiple arguments
From: |
Eli Zaretskii |
Subject: |
Re: term with multiple arguments |
Date: |
Fri, 25 Jul 2014 12:42:55 +0300 |
> From: Carlos Pita <carlosjosepita@gmail.com>
> Date: Thu, 24 Jul 2014 19:21:54 -0300
>
> I'm unable to pass multiple arguments to term:
>
> (term "ls /home")
> (term "sh -c 'ls /home'")
> too many arguments
>
> (term '( "ls" "/home" ))
> (term [ "ls" "/home" ])
> wrong type argument
>
> (term "ls" "/home")
> wrong number of arguments
>
> Is this possible? I would be surprised if not.
The argument of 'term' is the executable file name of a program. It's
not a shell command.