Hi everyone,
I'm developing a pylons-app to manage a mail server (postfix). In my
app, I call several external programs using

output = subprocess.Popen(args, stdout=subprocess.PIPE,
stderr=subprocess.PIPE).communicate()[0]

However, I'm unable to get the programs output. The output gets
printed as a Paster log on my console.
I tried using the linux command "ls" and it worked, but no with other
commands.
Any ideas?

Regards,
Sandor


PS: I'm trying to manage a Postfix mail server. The commands I want to
get the output from is "postfix reload", "postmap hash:/etc/postfix/
virtual"


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to