Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Controlling a command-line program for Windows

Thread Tools

Controlling a command-line program for Windows

Posts: n/a
Has anyone run into a situation where you had to do that? This comes up
again and again for me and each time I search for a solution, I always hit a
dead-end. Expect was great for Unix.... but I keep coming back to Pexpect
and see that it doesn't work with Windows. Some people have tried Popen2,
but that's not the way. If someone who has gone down this path could
enlighten us, it would be greatly appreciated.

Samples of what you would use it for include: SSH, controlling ftp, or
essentially basic scripting for any interactive commandline tools.

Hoang Do

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Controlling a .net program from Browser Maury ASP .Net 0 08-08-2006 10:59 AM
Controlling number of instances of a program (Cross platform) Paul Tremblay C++ 9 06-16-2005 11:50 PM
controlling a qbasic program on a windows98 or example of rs-232 commanded through python Python 1 02-20-2005 01:38 AM
Controlling Windows Services webmaster C++ 2 10-31-2003 03:40 PM
Controlling an Xterm from a C++ Program Dennis C++ 4 09-29-2003 08:56 PM