This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: subprocess.Popen doesn't work without "executable="
Type: behavior Stage:
Components: Library (Lib) Versions: Python 2.6
process
Status: closed Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: hc
Priority: normal Keywords:

Created on 2009-09-30 02:55 by hc, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (3)
msg93344 - (view) Author: Konstantin M. Khankin (hc) Date: 2009-09-30 02:55
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
msg93346 - (view) Author: Konstantin M. Khankin (hc) Date: 2009-09-30 03:17
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 -
msg93347 - (view) Author: Konstantin M. Khankin (hc) Date: 2009-09-30 03:24
Sorry, it's my fault. I must write it as list, not as string
History
Date User Action Args
2022-04-11 14:56:53adminsetgithub: 51270
2009-09-30 03:24:07hcsetstatus: open -> closed

messages: + msg93347
2009-09-30 03:17:18hcsetmessages: + msg93346
2009-09-30 02:55:58hccreate