contrib/chg/chg.c
changeset 28327 3ab370f84a23
parent 28261 2ab59ac06b76
child 28357 2f0f352d4196
equal deleted inserted replaced
28326:ea400a4f32e6 28327:3ab370f84a23
   214 		"--cmdserver", "chgunix",
   214 		"--cmdserver", "chgunix",
   215 		"--address", opts->sockname,
   215 		"--address", opts->sockname,
   216 		"--daemon-postexec", "none",
   216 		"--daemon-postexec", "none",
   217 		"--pid-file", opts->pidfile,
   217 		"--pid-file", opts->pidfile,
   218 		"--config", "extensions.chgserver=",
   218 		"--config", "extensions.chgserver=",
   219 		/* wrap root ui so that it can be disabled/enabled by config */
       
   220 		"--config", "progress.assume-tty=1",
       
   221 	};
   219 	};
   222 	size_t baseargvsize = sizeof(baseargv) / sizeof(baseargv[0]);
   220 	size_t baseargvsize = sizeof(baseargv) / sizeof(baseargv[0]);
   223 	size_t argsize = baseargvsize + opts->argsize + 1;
   221 	size_t argsize = baseargvsize + opts->argsize + 1;
   224 
   222 
   225 	const char **argv = mallocx(sizeof(char *) * argsize);
   223 	const char **argv = mallocx(sizeof(char *) * argsize);