Solve the -k start bug [thanks for the pointers, FirstBill!] The answer was really trivial. Unlike all other cases where you expect to send argv[0] and get argv[0] in the created process, the service control manager (SCM) just don't work like that. StartService() argv passed must not include an element zero. Element zero is inserted by the SCM, containing the service name, without any help from the outside. Only reason this bug 'appeared' is that Jeff's patch introduced a bit of strictness to refuse arguments without a flag. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95526 13f79535-47bb-0310-9956-ffa450edef68
parent
73bfea9d
Please register or sign in to comment