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. >> And >> when I test it using the wrong programm name, it returns a 1. But >> instead, >> when I pass it the right name, it just hangs. In the task manager there >> is >> an entry for the program, but it doesn't seem to execute. Thanks for the >> help. > > 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 [EMAIL PROTECTED] > http://www.xs4all.nl/~reinoud > __________________________________________________ > _______________________________________________ > Zope maillist - Zope@zope.org > http://mail.zope.org/mailman/listinfo/zope > ** No cross posts or HTML encoding! ** > (Related lists - > http://mail.zope.org/mailman/listinfo/zope-announce > 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. _______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )