Re: How to automate user input at the command prompt?

2006-07-25 Thread gert365
Cameron Laird wrote: > In article <[EMAIL PROTECTED]>, > [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > >In that case, the OP can probably use cygwin's version of python. > >pexpect definitely works there. > . > . > . > I suspec

Re: How to automate user input at the command prompt?

2006-07-21 Thread gert365
Cameron Laird wrote: > In article <[EMAIL PROTECTED]>, > [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > >In that case, the OP can probably use cygwin's version of python. > >pexpect definitely works there. > . > . > . > I suspec

How to automate user input at the command prompt?

2006-07-21 Thread gert365
I'm working on a scirpt to be used on a windows machine and I need to automate a user's input on the command prompt. For example I'm using os.system('mycommand') to excute the commands I want. However some of these command will prompt for a confirmation of yes or no from user. Is there anything