default:
kr_log_error(
"[system] error: standard input is not a terminal or pipe; "
- "use '-f 1' if you want non-interactive mode. "
+ "use '-n' if you want non-interactive mode. "
"Commands can be simply added to your configuration file or sent over the control socket.\n"
);
return EXIT_FAILURE;
create_file_from_template(KRESD_CONF_TEMPLATE, self.config_path, {'kresd': self})
self.logfile = open(self.logfile_path, 'w')
self.process = subprocess.Popen(
- ['kresd', '-c', self.config_path, '-f', '1', self.workdir],
+ ['kresd', '-c', self.config_path, '-n', self.workdir],
stdout=self.logfile, env=os.environ.copy())
try: