[issue7021] subprocess.Popen doesn't work without "executable="
New submission from Konstantin M. Khankin : I'm need to call sendmail. So I wrote: http://paste.org.ru/?imuoia os.stat there is to confirm that python can have access to sendmail executable That code returned an exception: http://paste.org.ru/?jbxadp But documentation says, that I can write executable name with args in "args=" parameter. But program didn't work until I wrote "/usr/sbin/sendmail" both in the "executable=" and "args=" parameters -- components: Library (Lib) messages: 93344 nosy: hc severity: normal status: open title: subprocess.Popen doesn't work without "executable=" type: behavior versions: Python 2.6 ___ Python tracker <http://bugs.python.org/issue7021> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7021] subprocess.Popen doesn't work without "executable="
Konstantin M. Khankin added the comment: And I still can't make it works. Now sendmail is called but says that "Recipient addresses must be specified on the command line or via the - -- ___ Python tracker <http://bugs.python.org/issue7021> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7021] subprocess.Popen doesn't work without "executable="
Konstantin M. Khankin added the comment: Sorry, it's my fault. I must write it as list, not as string -- status: open -> closed ___ Python tracker <http://bugs.python.org/issue7021> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com