[Zope] Why doesn't os.system(command) work?

Andreas Jung lists at zopyx.com
Fri Aug 17 00:39:21 EDT 2007

--On 16. August 2007 21:21:36 -0700 rieh25 <robertoedwins at gmail.com> wrote:

> I have an external method like this:
> import os
> def ext_programm():
>   os.system('notepad.exe')
> But it doesn't work.

You can figure it out yourself by checking the return value of os.system() 
and by checking the console messages. Likely you're search path is not set 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope/attachments/20070817/65258605/attachment.bin

More information about the Zope mailing list