[Zope] Why doesn't os.system(command) work?
robertoedwins at gmail.com
Fri Aug 17 10:58:57 EDT 2007
It works when I start Zope with runzope, instead of starting it a a server.
It's not really a problem to me because I can create a windows shceduled
task to start zope everytime the server is turned on. I need to do it from
Zope because the user needs to specify some parameters for the query, so I'm
going to do it this way instead of using some other tool... Thanks to all
Reinoud van Leeuwen wrote:
> On Thu, Aug 16, 2007 at 10:40:45PM -0700, rieh25 wrote:
>> I think it's finding the programm because I'm using the complete path.
>> when I test it using the wrong programm name, it returns a 1. But
>> when I pass it the right name, it just hangs. In the task manager there
>> an entry for the program, but it doesn't seem to execute. Thanks for the
> How is your Zope running? If it is running as a system service it has
> nothing to do with the current logged on user that has a desktop open. So
> Windows will not show notepad on the desktop...
> The question is: what is the problem you are trying to solve with this?
> Why should the webserver open a notepad? Try playing with a commandline
> program that does something usefull but does not need interaction (a batch
> file or something like that)
> "Nothing is as subjective as reality"
> Reinoud van Leeuwen reinoud.v at n.leeuwen.net
> Zope maillist - Zope at zope.org
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://mail.zope.org/mailman/listinfo/zope-dev )
View this message in context: http://www.nabble.com/Why-doesn%27t-os.system%28command%29-work--tf4283613.html#a12201181
Sent from the Zope - General mailing list archive at Nabble.com.
More information about the Zope