zbigniew szalbot wrote:
>
>I uploaded the script to /usr/local/mailman/bin
>but when I run list_pending adwent
>I get "list_pending: command not found"
>
>$ l
>-rwxr-xr-x  1 root  mailman   4708 Nov 14 16:32 list_pending


Check the shebang line at the top of the script.

#! /usr/bin/env python

This is an attempt to run python in a system independent way, but it
relies on the presence of /usr/bin/env which apparently is missing or
in a different place on your system.

You can replace the whole thing with

#! /path/to/python

if you prefer.

-- 
Mark Sapiro <[EMAIL PROTECTED]>       The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

------------------------------------------------------
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&amp;file=faq01.027.htp

Reply via email to