Author Topic: Hooking onto the console.log with Python 2  (Read 643 times)

The file reading documentation seems confusing. How do I hook onto the console.log so that a function is called when a new console line is printed?

I think this goes in help.

I think this goes in help.
Help is only for in-game problems IMO. Trying to read the console.log when its last line is updated is not in-game.

You can't read console.log while it's in use; you'll need to read the output of the EXE directly.

You can't read console.log while it's in use; you'll need to read the output of the EXE directly.
How would you go about doing this?

You can't read console.log while it's in use; you'll need to read the output of the EXE directly.
Why has this never been a problem for me?

Why has this never been a problem for me?
I could've sworn I said Windows.

Do I seriously have to buy another copy of Windows to install on my Mac just to make a remote console mod?

Can I just do this on Ubuntu with the Wine output hooked?

If its Linux could you not just do a subprocess call and tail the log file?

If its Linux could you not just do a subprocess call and tail the log file?
I'm *nix illiterate, so I don't know how to do that.

Can you do that on Mac OS X? (OSX is a Unix operating system)
« Last Edit: March 09, 2013, 10:46:28 PM by Axolotl2 »