This commit is contained in:
Peter D. Gray 2026-01-02 15:14:01 -05:00
parent eb467988bb
commit 4e91d2ca3f
No known key found for this signature in database
GPG Key ID: A2DCD558C2BE5D7C

View File

@ -915,11 +915,9 @@ Q1 specials:
file_desc = os.open(logfile, os.O_WRONLY | os.O_CREAT | os.O_TRUNC, 0o644)
os.close(file_desc)
xterm_args.extend(['-l', '-lf', logfile, '-e'])
else:
xterm_args.extend(['-e'])
xterm_args.extend(['-l', '-lf', logfile])
xterm = subprocess.Popen(xterm_args + cc_cmd,
xterm = subprocess.Popen(xterm_args + ['-e'] + cc_cmd,
env=env,
stdin=subprocess.DEVNULL, stdout=subprocess.DEVNULL,
pass_fds=pass_fds, shell=False)