Sep-28-2016, 01:01 PM
Hey natv,
From what I can read in the docs, you should specify a logfile after spawning your leviathan6 program.
Something like
PS: is that from the overthewire challenges?
Cheers!
From what I can read in the docs, you should specify a logfile after spawning your leviathan6 program.
Something like
p.logchild = open('/tmp/leviathan6-log', 'w') #you could name it whatever you wantRegarding sending that program's standard output to the terminal where you're running pexpect, maybe this could work:
import sys #Your code here including the spawn call p.logchild = sys.stdoutI'm just talking out loud, sort of speak, here. Haven't tested any of this, but maybe this can get you going a bit further.
PS: is that from the overthewire challenges?
Cheers!