zopectl fg doesn't work on Windows

Bug #440490 reported by ChrisW
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zope 2
Fix Released
Low
ChrisW

Bug Description

Since we now support `zopectl start` and `zopectl stop` on Windows, we should really support `zopectl too`.

Revision history for this message
ChrisW (chris-simplistix) wrote :

Here's the traceback when you try:

Traceback (most recent call last):
  File "C:\LocalSVN\Zope_2.12\bin\zopectl-script.py", line 89, in <module>
    Zope2.Startup.zopectl.run()
  File "c:\localsvn\zope_2.12\src\Zope2\Startup\zopectl.py", line 347, in run
    exitstatus = main()
  File "c:\localsvn\zope_2.12\src\Zope2\Startup\zopectl.py", line 306, in main
    c.onecmd(" ".join(options.args))
  File "C:\Python26\lib\cmd.py", line 219, in onecmd
    return func(arg)
  File "c:\buildout-eggs\zdaemon-2.0.4-py2.6.egg\zdaemon\zdctl.py", line 559, in
 do_fg
    self.do_foreground(arg)
  File "c:\localsvn\zope_2.12\src\Zope2\Startup\zopectl.py", line 246, in do_for
eground
    ZDCmd.do_foreground(self, arg)
  File "c:\buildout-eggs\zdaemon-2.0.4-py2.6.egg\zdaemon\zdctl.py", line 554, in
 do_foreground
    os.spawnlp(os.P_WAIT, program[0], *program)
AttributeError: 'module' object has no attribute 'spawnlp'

Revision history for this message
ChrisW (chris-simplistix) wrote :

This is fixed on the Zope 2.12 branch in r104795

Changed in zope2:
assignee: nobody → ChrisW (chris-simplistix)
status: Confirmed → Fix Committed
Changed in zope2:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.