After running the command, you'll now be in your tmux session, in copy mode, with the contents
echo \-17 | sudo tee /proc/1234/oom_adj
You can then copy this, exit copy mode, paste and execute.
Note: in Ubuntu Raring tmux 1.7-3, copying the line caused a crash.