summaryrefslogtreecommitdiff
path: root/tests/interact_unicode.py
blob: 8312d5653ecfac3c52f7c1a3503a94c9cee17f4d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/env python
'''
Just like interact.py, but using spawnu instead of spawn
'''
import pexpect
import sys

def main():
    p = pexpect.spawnu(sys.executable + ' echo_w_prompt.py')
    p.interact()

if __name__ == '__main__':
    main()