I'm trying to start a system command, then simulate an enter key being pressed (activestate 5.6.1). I've come up with this code, but it doesn't quite work.
open(MORE,"|more readme");
print MORE "\n";
close(MORE);
Can anybody help?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.