[issue1256] hg serve -d fails

Darcy Parks mercurial-bugs at selenic.com
Thu Aug 7 14:59:48 CDT 2008


New submission from Darcy Parks <darcy.parks at gmail.com>:

Running hg serve in daemon mode seems to fail in all cases with os.spawnvp(). 
Should that be os.spawnv()?

Running Mercurial 1.01 on Windows XP Pro.

> hg serve -d
** unknown exception encountered, details follow
** report bug details to http://www.selenic.com/mercurial/bts
** or mercurial at selenic.com
** Mercurial Distributed SCM (version 1.0.1+20080525)
Traceback (most recent call last):
  File "hg", line 20, in <module>
  File "mercurial\dispatch.pyc", line 20, in run
  File "mercurial\dispatch.pyc", line 29, in dispatch
  File "mercurial\dispatch.pyc", line 45, in _runcatch
  File "mercurial\dispatch.pyc", line 364, in _dispatch
  File "mercurial\dispatch.pyc", line 417, in _runcommand
  File "mercurial\dispatch.pyc", line 373, in checkargs
  File "mercurial\dispatch.pyc", line 356, in <lambda>
  File "mercurial\commands.pyc", line 2542, in serve
  File "mercurial\cmdutil.pyc", line 520, in service
AttributeError: 'module' object has no attribute 'spawnvp'

----------
messages: 6740
nosy: darcy.parks
priority: bug
status: unread
title: hg serve -d fails

____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue1256>
____________________________________________________



More information about the Mercurial-devel mailing list