Hello, Mark Sapiro pisze:
> 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 which on freebsd is in /usr/local/bin/python Problem solved. Thanks again! I appreciate it! Zbigniew Szalbot ------------------------------------------------------ Mailman-Users mailing list [email protected] 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&file=faq01.027.htp
