help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: term with multiple arguments


From: Emanuel Berg
Subject: Re: term with multiple arguments
Date: Fri, 25 Jul 2014 00:35:24 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Carlos Pita <address@hidden> writes:

> Is this possible? ...

With some other function, should be.

> (term "ls /home")
> (term "sh -c 'ls /home'")
> too many arguments

Does it say that? Mine says, for both:

    Process terminal exited abnormally with code 127
    ..: 1: [: sh: unexpected operator
    ..: 1: exec: sh -c 'ls /home': not found

> (term '( "ls" "/home" )) (term [ "ls" "/home" ])
> wrong type argument

Somewhere along the line that fails a `stringp' test,
i.e., `term' wants a string.

> (term "ls" "/home")
> wrong number of arguments

You can see that this isn't going to work just by
`C-h f term': (term PROGRAM) - so one argument.

-- 
underground experts united


reply via email to

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