send key code to command line program os x bash script
Posted
by Sandy Vanderbleek
on Stack Overflow
See other posts from Stack Overflow
or by Sandy Vanderbleek
Published on 2010-04-11T04:06:53Z
Indexed on
2010/04/11
4:13 UTC
Read the original article
Hit count: 458
I want to make a script that starts a program and then sends it key input.
#!/bin/bash
./program
(PRESS CONTROL-Z)
Is this possible? From what I've found I thought it might require key codes but I could be wrong.
© Stack Overflow or respective owner