Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^3: How to Automate Response to Executable's Prompt?

by dasgar (Priest)
on Jun 11, 2012 at 23:11 UTC ( [id://975658]=note: print w/replies, xml ) Need Help??


in reply to Re^2: How to Automate Response to Executable's Prompt?
in thread How to Automate Response to Executable's Prompt?

Unfortunately they require IO::Tty and apparently that won't install on Windows :-(.

Hmmm....partially true. I'm not advocating that you go this route, but if you installed cygwin, in the cygwin environment with it's Perl it is possible to install the Expect modules. However, I'm not entirely sure that you could use pp to package your script into an executable that can be run on a Windows system that does not have the cygwin environment installed.

Also, I want to point out one other thing to keep in mind before experimenting with cygwin. Supposedly it has an uninstaller. However, it's been my experience that if you want to uninstall cygwin, the only way to cleanly and completely uninstall it is to reinstall the Windows OS. Every time that I have ever tried to uninstall it, it has never completely uninstalled and some pieces of it are still hanging around. Perhaps they have improved the uninstall process over the past several years since I tried to go through the uninstall process.

  • Comment on Re^3: How to Automate Response to Executable's Prompt?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://975658]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2024-04-19 23:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found