avoid preexec_fn (something's leaky there)
This commit is contained in:
		| @@ -149,10 +149,9 @@ class WsjtChopper(threading.Thread): | ||||
|  | ||||
|     def decode(self, file): | ||||
|         decoder = subprocess.Popen( | ||||
|             self.decoder_commandline(file), | ||||
|             ["nice", "-n", "10"] + self.decoder_commandline(file), | ||||
|             stdout=subprocess.PIPE, | ||||
|             cwd=self.tmp_dir, | ||||
|             preexec_fn=lambda: os.nice(10), | ||||
|             close_fds=True, | ||||
|         ) | ||||
|         for line in decoder.stdout: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Jakob Ketterl
					Jakob Ketterl