D1426: logtoprocess: add the possibility to not start a shell

mharbison72 (Matt Harbison) phabricator at mercurial-scm.org
Thu Dec 14 01:17:29 EST 2017


mharbison72 added a comment.


  Sorry, I'm not sure what the context is here.  Is this all to resolve %FOO% type variables?  I don't know of any library to do this either.
  
  Earlier this year I tried fixing the logtoprocess test, which was leaving out chunks of output on Windows.  The only notes I left were that the output showed up if DETACHED_PROCESS was removed, but then it flickered a bunch of cmd.exe windows.  IDK how that works, so eventually I gave up and required no-windows.  That said, Yuya's code snippet seems to work for me on Win7 in a python shell.
  
  I don't have time to test tonight, but maybe this will help?  I vaguely remember having luck with SW_HIDE.
  
    https://www.codeproject.com/Articles/2537/Running-console-applications-silently

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D1426

To: lothiraldan, #hg-reviewers, mbthomas
Cc: mharbison72, durin42, yuja, mbthomas, mercurial-devel


More information about the Mercurial-devel mailing list