Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

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

by socrtwo (Sexton)
on Jun 11, 2012 at 18:57 UTC ( [id://975616]=note: print w/replies, xml ) Need Help??


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

Expect or Expect::Simple look like they would work well. Unfortunately they require IO::Tty and apparently that won't install on Windows :-(. I need to work with Windows because I want to compile with pp to an exe...
  • Comment on Re^2: How to Automate Response to Executable's Prompt?

Replies are listed 'Best First'.
Re^3: How to Automate Response to Executable's Prompt?
by dasgar (Priest) on Jun 11, 2012 at 23:11 UTC
    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.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (6)
As of 2024-04-23 22:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found