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

lothiraldan (Boris Feld) phabricator at mercurial-scm.org
Thu Nov 16 08:42:46 EST 2017


lothiraldan added a comment.


  In https://phab.mercurial-scm.org/D1426#23797, @yuja wrote:
  
  > Can't we use `openflags=CREATE_NO_WINDOW` instead?
  >
  > https://stackoverflow.com/a/7006424
  
  
  I tried lots of things including openflags=CREATE_NO_WINDOW that didn't seem to work, unfortunately.
  
  > `shell=False` also disables envar expansion, and I guess there would
  >  be lots of trivial behavior changes.
  
  I'm not sure to understand what you mean, I tried this configuration:
  
    [logtoprocess]
    commandfinish = %HOMEPATH%/script.pl
  
  And `%HOMEPATH` seemed to be expanded.

REPOSITORY
  rHG Mercurial

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

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


More information about the Mercurial-devel mailing list