This is a read-only archive of lispforum.com. The forum was locked to new users and posts and is preserved here as static HTML from a database snapshot taken on 2019-09-07.

lisp problem for start-process

3 posts · 4443 views

hi,
my environment ubuntu 9.10 + emacs22-nox
I've try using start-process but always got Wrong type argument:...
(start-process "my-process" "foo" "ls" "-l" "/bin/grep")
----message bar show
Wrong type argument: sequencep, #<process my-process>
----output is correct and working
-rwxr-xr-x 1 root root 100312 2009-04-28 19:03 /bin/grep
Process my-process finished
-----

how to fix Wrong type argument for this case :-)

Thanks

Re: lisp problem for start-process

This seems to be something with a return value. How do you invoke the function? For me, using eval-expression in Emacs 23.1.1 the message bar just prints the process object.

Re: lisp problem for start-process

I got the solution
==wrong brace for interactive cause the problem
(interactive
(start-process ....)
)

==now without problem correct in this way :-)
(interactive)
(start-process ....)