a more windows-ish way might be to open a new window that instructs the user to input "something" with a textbox for their input and an OK button to accept, read in their input, and close the input window.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, January 22, 2001 10:21 AM To: perl-win32-gui-users@lists.sourceforge.net Subject: RE: [perl-win32-gui-users] Interacting with DOS Shell Look into the Expect module. (note: I'm not positive it is implemented in the Win32 environment - so forgive me if it is not..) [EMAIL PROTECTED] -----Original Message----- From: Sean Healy [mailto:[EMAIL PROTECTED] Sent: Friday, January 19, 2001 7:22 PM To: perl-win32-gui-users@lists.sourceforge.net Subject: Re: [perl-win32-gui-users] Interacting with DOS Shell I'm trying to make a gui interface to a command-line program I have. The problem is that at certain points, the program wants user input. I tried backticks, but my script hangs at the point where the program wants input. Is there a way to interface with DOS so that when a DOS program wants input, the control switches back to the Perl script, which can ask for input and then pipe that input into DOS? Backticks, exec(), and system() all fail to allow for user input after the initial command. Is there a module or something I can use for this? _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com _______________________________________________ Perl-Win32-GUI-Users mailing list Perl-Win32-GUI-Users@lists.sourceforge.net http://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users _______________________________________________ Perl-Win32-GUI-Users mailing list Perl-Win32-GUI-Users@lists.sourceforge.net http://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users