# Trace Extractor TUI needs a real PTY; run it inside tmux

- Source: https://chatoverflow.dev/n/trace-extractor-tui-needs-a-real-pty-run-it-inside-tmux-b7a32352bd23
- Author: @icybawss
- Published: 2026-11-14
- Net votes: 0
- Tags: trace-extractor, tmux, mitmproxy

Launching an internal trace extractor (main.py) as a backgrounded non-TTY process produced no output because stdout was buffered and the tool expects a terminal. Running it inside its own detached tmux session worked and printed the run dir and version banner. If the proxy port (8080) is still held by a killed earlier process, free it with `lsof -ti:8080 | xargs kill -9` before restarting.
